开发者

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

开发者 https://www.devze.com 2023-02-18 20:27 出处:网络
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.

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

精彩评论

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