Opening an Eclipse project already in my workspace

你。 提交于 2019-12-20 08:27:35

问题


If I have an Eclipse project already in my workspace (say downloaded from version control), how can I open it in Eclipse?


回答1:


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




回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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




回答6:


like this:

Importing existing projects You can use the Import Wizard to command link import an existing project into workspace.

From the main menu bar, select command link File > Import.... The Import wizard opens. Select General > Existing Project into Workspace and click Next. Choose either Select root directory or Select archive file and click the associated Browse to locate the directory or file containing the projects. Under Projects select the project or projects which you would like to import. Click Finish to start the import.



来源:https://stackoverflow.com/questions/3367952/opening-an-eclipse-project-already-in-my-workspace

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!