如何在eclipse中找到工作区位置?

时间:2018-01-23 18:43:47

标签: java eclipse workspace

我在eclipse中更改了工作区路径(我不记得了)。最近我的笔记本电脑重新成像,不得不安装日食。我无法取回新工作区。我搜索了笔记本电脑中的文件夹。我在笔记本电脑中找不到项目文件夹。不知道如何取回更改的工作区。

4 个答案:

答案 0 :(得分:0)

Elipse usually stores some metadata in every workspace it works on. Go search for a .metadata folder in your harddisk. Its contents should look like this:

.plugins/
.bak_0.log
.bak_1.log
.bak_2.log
.lock
.log
version.ini

答案 1 :(得分:0)

If I understand your question correctly, you are looking for the project folder and have no idea, where it might be? In this case you could try to search for .project files (using windows explorer) Should you find it, use File->Switch Workspace and select the folder two layers above the .project file. (e.g. C:/workspace if you found the file at C:/Workspace/myproject/.project)

答案 2 :(得分:0)

On my workspace, I have, besides some projects directories, two Eclipse directories:

.metadata
.recommenders

Inside .metadata I have:

enter image description here

If you're in Windows, use this tool to search for it. If you're on Linux, use this

答案 3 :(得分:0)

然而,您现在正在启动Eclipse,修改过程以添加-showlocation参数。工作区位置将嵌入标题栏中。