Community
Participate
Working Groups
I am trying to use converter extension to convert a makefile project to my toolchain but haven't had any luck. I experienced two problems so far: 1) The "Convert To..." action only deals with project types, which is "null" for a makefile project. Documentation to the extension point however suggests that I could use any of (project type,toolchain id, tool id,builder); 2) If I use a toolchain id, on the "Toolchain Editor" property page I can see my wizard page after I select my toolchain. Unfortunately wizard fails to finish because of the NPE at org.eclipse.cdt.managedbuilder.ui.wizards.MBSWizardHandler.<init>(MBSWizardHandler.java:310), which is again caused by the project type being null.
Created attachment 209876 [details] Patch that fixes the problem for a makefile project
The attached patch adds an ability to use a toolchain id in the converter action.
Created attachment 210054 [details] test plugin
Created attachment 210704 [details] patch against the most recent master
Hi Anna, I finally have my commit rights back and time to look at this. Can you submit it to Gerrit? It'll be easier for me to review there. Thanks!
Is there any instruction on how to do it?
Yes, this has been posted to the cdt-dev list a few times. A few committers and contributors have gone through the process and it's been refined a little. Always feel free to ask questions to the list. http://wiki.eclipse.org/CDT/git It's the last section on this page.
Doug, the last section is how to create patches with Git. Anyway, I failed miserably to set up a Gerrit workflow on my current machine. I am getting a fatal: '/org.eclipse.cdt.git': not a Gerrit project fatal: The remote end hung up unexpectedly.
Patch applied: https://git.eclipse.org/r/5778