I would like to have a shell script create an entire CDT project on the command line and add it to a workspace. I\'m willing to generate the .project and .cproject files mys
I believe all you need is to do is create a folder here:
WORKSPACE_DIR\.metadata\.plugins\org.eclipse.core.resources\.projects\YOUR_PROJECT_NAME
and a .location file in it.
You can either use the Eclipse Resources API, or try to implement it yourself based on the current implementation
I don't know if there's an easiest way