Managed Build Associate ProjectType with Existing General Category [message #918062] |
Thu, 20 September 2012 17:52 |
Jesse Brick Messages: 1 Registered: September 2012 |
Junior Member |
|
|
Hey
I am working with the build Definitions extension and have read through the supporting documentation, I thought I had the right implementation, but I can't seem to accomplish what I want. Basically I want to define a project type with an associated configuration, tool-chain, builder, tools, etc. I then want this project type to appear under the executable category in the CDT new project wizard. I thought this could be accomplished with the buildArtefactType property of projectType but it doesn't seem to be working here is the contents of my plugin.xml file.
<extension
id="buildextension"
name="Build Extension"
point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
<projectType
id="project"
name="testproject"
buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe">
<configuration
id="config"
name="Test config"
buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release"
artifactExtension="exe">
<toolChain
id="toolchain"
name="Test Toolchain"
targetTool="tool">
<builder
id="com.signaklara.np5.managedbuilder.builder"
isAbstract="false"
name="GNU Make"
superClass="cdt.managedbuild.target.gnu.builder">
</builder>
<tool
id="tool"
name="test tool">
<inputType
id="input"
name="test input"
sourceContentType="org.eclipse.cdt.core.cSource"
primaryInput="true">
</inputType>
<outputType
id="output"
name="output"
outputs="exe"
primaryOutput="true">
</outputType>
<supportedProperties>
<property id="org.eclipse.cdt.build.core.buildType">
<value id="org.eclipse.cdt.build.core.buildType.debug"/>
<value id="org.eclipse.cdt.build.core.buildType.release"/>
</property>
</supportedProperties>
</tool>
</toolChain>
</configuration>
</projectType>
</extension>
</plugin>
|
|
|
Powered by
FUDForum. Page generated in 0.03697 seconds