Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Managed Build Associate ProjectType with Existing General Category
Managed Build Associate ProjectType with Existing General Category [message #918062] Thu, 20 September 2012 17:52
Jesse Brick is currently offline Jesse BrickFriend
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>




Previous Topic:After "Build Complete", process takes 3 seconds to finish
Next Topic:Suspend/Pause not working
Goto Forum:
  


Current Time: Fri Apr 26 09:48:25 GMT 2024

Powered by FUDForum. Page generated in 0.02839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top