[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Programatically opening a project
|
Well, I'll change my question then. Is it possible to import a project to the current workspace programmatically, just like it is done by the "Import Existing Projects into Workspace" GUI option? I believe eclipse is just looking for .project files in the file tree we choose. I found a piece of code that should do it here -
http://blog.yahor.net/2009/05/import-existing-project-into-eclipse.html. Unfortunately it seems there is something more to it then this.
Best Regards,
Radosław Fijołek
W dniu 20 lipca 2011 14:52 użytkownik Andrew Gvozdev
<angvoz.dev@xxxxxxxxx> napisał:
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.
Andrew
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev