Bug 429923 - Can't initialize project when adding tool chain to general project types
Summary: Can't initialize project when adding tool chain to general project types
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-07 18:26 EST by MrCompiler Mising name CLA
Modified: 2020-09-04 15:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MrCompiler Mising name CLA 2014-03-07 18:26:19 EST
I have added new tool chains for the general project types
"org.eclipse.cdt.build.core.buildArtefactType.exe"
"org.eclipse.cdt.build.core.buildArtefactType.staticLib"
"org.eclipse.cdt.build.core.buildArtefactType.sharedLib"

Using the managedbuilder.core.buildDefinitions extension point. This works exactly as expected and my tool chain is properly listed in the CDT New Project Wizard, it can be selected and my property pages are available from the 'Advanced Settings" button.

However my new CDT Wizard is not called and the default managed build wizard is called so the project setup in create_project doesn't get invoked.

How can I set the Wizard and Wizard handlers for these project types when my toolchain is selected? Or is there another way to hook these projects when my toolchain is activated?

If I create a new project type my wizard gets called correctly, however if I add items they should up as seperate entries from the default ones.
Comment 1 Marc-André Laperle CLA 2014-03-10 17:55:55 EDT
Hi. I'm not sure I understand, are you trying to add pages to the existing CDT wizard? Or are you trying to create your own from scratch? There's a framework to add custom pages that you can use if you need to specify additional options, etc. You can find examples in org.eclipse.cdt.managedbuilder.ui.tests/plugin.xml and org.eclipse.cdt.build.crossgcc/plugin.xml.