开发者

Opening an Eclipse project already in my workspace

If I have an Eclipse project a开发者_JS百科lready in my workspace (say downloaded from version control), how can I open it in Eclipse?


It is kind of funny/misleading, but Eclipse doesn't provide an "Open" command. You need to use "File"->"Import"->"General"->"Import Existing Project" to be able to use your existing project.

you have to uncheck 'Copy projects into workspace' if the project is already in the workspace


If you are using Eclipse for Mac, you have to create a new project with the same name as the folder that contains the project, which is already in the workspace. Do nothing else (no imports), just finish the wizard, and you will find all the subfolders and files in the new project created.

It's very misleading though, I had the same problem and it got me half an hour to solve it.


I had the same Problem as Nuraiz but i was able to work around.

You have to select the project you want to open and uncheck the 'Copy projects into workspace'. Then switch the radio button either from "Select root directory" to "Select archive file" or the other way round and switch it back afterwards.

You can now magically select your project or maybe it is already selected.


It is already open, but your windows "Package explorer" and "Project explorer" are closed and you do not see it. Go to Tab Window then Show view and chose any of them.


You will see the same in Project Explorer. As If you do any checkout , it will fall in Project explorer syn with your workspace.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜