Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import different versions of a project into Eclipse

Tags:

java

eclipse

I have a project in Eclipse and now I want to import another project with a different name and in different location, but with a same structure(same packages, a lot of same classes...), but when I try to import it, it says " Some projects cannot be imported because they already exist in the workspace". What should I do if I want to have both of two versions of one project? What should I change? Thx.

like image 973
lomza Avatar asked Oct 20 '11 07:10

lomza


1 Answers

As the projects would have the same project names in the .project file, eclipse would not allow them to be imported into the workspace.

Open the .project file for the project root, confirm and change its name and then import it.

<projectDescription>
    <name>project1</name>
</projectDescription>
like image 197
Jayendra Avatar answered Sep 23 '22 10:09

Jayendra