I'm trying to set up an Eclipse workspace automatically. So far, I managed to import projects automatically using the Eclipse CDT project and the following command:
eclipsec.exe -nosplash -data workspace -application org.eclipse.cdt.managedbuilder.core.headlessbuild -importAll C:\project
After that command, I can start Eclipse and all projects in C:\project
are imported to my workspace.
But how can I import a target platform automatically? And how can I import Eclipse preferences automatically?
I'm unable to find a documentation about the command line arguments of Eclipse CDT. And I it feels strange to install a complete C/C++ tool chain just to import projects (of a Java project). Are there any alternatives?
Thanks and best regards, Thomas