Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Programatically opening a project

2011/7/20 Andrew Gvozdev <angvoz.dev@xxxxxxxxx>
Hi Radosław,

2011/7/20 Radosław Fijołek <lelokrates@xxxxxxxxx>
Hello!
Is it possible to programatically open/load a project using CDT? Unfortunately the following method:
String name = ...;
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(name);

does not satisfy me, as I am not allowed to load the eclipse platform. I'd rather run my app from command line.
It is called "platform" for a reason. You cannot use CDT without eclipse platform including opening projects.
It is not really clear to me what you are trying to do, maybe you want to look at http://wiki.eclipse.org/CDT/Developer/FAQ#How_can_I_programmatically_create_a_new_CDT_project.3F .
Andrew
Andrew 
The project would be then identified for example by it's workspace's path and it's name.


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top