开发者

Check the project availability in current workspace of eclipse?

Using java program how to check that particular project (eq DemoProject) is available in current workspace of eclipse (the program should work on any machines al开发者_高级运维so it should not system specific)?


If you are talking about a Java program running from within Eclipse itself, as a plugin, you can try getting the project with:

 ResourcesPlugin.getWorkspace().getWorkspaceRoot().getProject("projectName")

, using the org.eclipse.core.resources.IWorkspaceRoot and test that resource (the org.eclipse.core.resources.IProject.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜