Some projects cannot be imported because they already exist in the workspace err

Q:

I am trying to import a project that me and my co-worker have been working on.. and keep getting this error after I select-- "import" then "import existing project" then click archive file, and then I click next, and this error comes up:

"Some projects cannot be imported because they already exist in the workspace"



A:

------------
A1


Take a look in your workspace folder, you may have an old project there with the same name as the one you are importing (even though it's not being shown on eclipse).

When you delete a project on Eclipse, if you don't check the checkbox on the dialog, it just removes it from the view and doesn't delete the folder on the workspace directory.


------------
A2

Uncheck the "copy projects into workspace" checkbox, and then click "refresh" button, you will be able to import the project



------------
A3

go to .project file in your project and change the name of the project in name tag



------------
A4

Projects in the Eclipse workspace must be unique. Note though that the project name need not be the same as the directory/folder name of the project, so you can either delete any existing project with the same name or alternatively rename the existing projects.












quote from :

http://stackoverflow.com/questions/6715403/some-projects-cannot-be-imported-because-they-already-exist-in-the-workspace-err

--






猜你喜欢

转载自lixh1986.iteye.com/blog/2093412