开发者

how to check the current workspace of Eclipse and the project on that workspace using java program?

how to check the 开发者_开发知识库current workspace of Eclipse and the project on that workspace using java program?


you can try this code to get the current workspace.

IWorkspace workspace = ResourcesPlugin.getWorkspace();
IWorkspaceRoot root = workspace.getRoot();
IPath location = root.getLocation();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜