project/com.nokia.carbide.cpp.project.core/plugin.xml
author timkelly
Fri, 11 Jun 2010 10:31:54 -0500
branchC3_BUILDER_WORK
changeset 1459 51ff67a50dee
parent 1389 ce1819266def
permissions -rw-r--r--
Create an SDK with a bad epocroot when a configuration is being loaded but where the SDK is not in the global list. We add it so it can be displayed along with an error message that the SDK has a bad EPOCROOT.

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
   <extension point="org.eclipse.core.runtime.contentTypes">

	  <!-- Mark extra Symbian headers as C++ headers.
		Note that some headers here are generated for resources and are
		by definition C-compatible.  But we don't want their names to show
		up in the C part of the index, only the C++ part. -->
      <file-association 
       content-type="org.eclipse.cdt.core.cxxHeader"
       file-extensions="hrh,inl,pan,rsg,mbg,lag"/>
   
   	  <!-- For resource-only files (those we never expect to see 
		included in C++ source) we want to use the C/C++ Editor to get
		their #includes and #defines in the outline.  
		Further, these files are guaranteed not to be parseable
		in C or C++ (we shouldn't really even be doing this)
		so mark them as C to avoid unnecessary parsing overhead -->
      <file-association 
       content-type="org.eclipse.cdt.core.cSource"
       file-extensions="rss"/>

      <file-association 
       content-type="org.eclipse.cdt.core.cxxSource"
       file-extensions="cia"/>

      <file-association 
       content-type="org.eclipse.cdt.core.cHeader"
       file-extensions="loc,rssi,ra,rh,rls"/>

      <file-association 
       content-type="org.eclipse.core.runtime.text"
       file-extensions="pkg,def,ini,symbol,iby,oby,log,policy,cfg,src,inc"/>

	  <!-- workaround for bug #'s 3537, 4165, 4512 -->
      <file-association 
       content-type="org.eclipse.core.runtime.text"
       file-extensions="pl,tcl,bat,cmd,com,vbs,js"/>

	  <!-- workaround for bug #7532 -->
      <file-association 
       content-type="org.eclipse.core.runtime.text"
       file-names="_ccmwaid.inf"/>
   </extension>

   <extension
         id="ProjectConverter"
         name="ProjectConverter"
         point="org.eclipse.cdt.core.projectConverter">
         <converter
         	owners="com.nokia.carbide.cpp.project.core.carbidecppproject"
         	natures="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"
         	class="com.nokia.carbide.cpp.internal.project.core.CarbideProjectConverter"
         />
   </extension> 
   
</plugin>