Open gunnarx opened 9 years ago
For an Eclipse instance with CDT, it can be done like this:
eclipse -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import {[uri:/]/path/to/project} -build {project_name | all} -cleanBuild {projec_name | all}
For Eclipse without CDT, there seems to be no out-of-the-box mechanism. Instead, the import mechanism has to be implemented by an additional plug-in and then used from command line. Here is plug-in that can do this (and also can call the build for those projects, if necessary):
https://github.com/spektom/eclipse-import
If franca_install_automation should be available for non-CDT Eclipse versions, the second way has to be implemented anyway. Seems to be quite some effort... (we could build the spektom plug-in locally and put the jar file into our repo).
Thanks Klaus!
As you noted elsewhere CDT is a req for CommonAPI. This project is developing towards a quite complete dev environment so I'm quite sure I will always want to include CDT eventually. But there is also the option to maintain multiple branches and do this only where CDT is included.
I'll keep it open and when there is time try this using the CDT solution.
Maybe it is possible to automate the import of the franca example files into the workspace.
Where are the workspace / current project settings stored in Eclipse?
Ideas?
This needs to be done after "Automatic configuration of workspace"