如果我们要导入现有项目,请执行以下操作
File->import->general->Existing project into workspace->Select project….->Finish..
Run Code Online (Sandbox Code Playgroud)
我们可以通过使用javacode或eclipse-plugin来做同样的事情......有没有这样的代码可用....
请帮我...
IProjectDescription description = ResourcesPlugin.getWorkspace().loadProjectDescription( new Path("PROJECT_PATH/.project"));
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(description.getName());
project.create(description, null);
project.open(null);
Run Code Online (Sandbox Code Playgroud)