Monday, August 2, 2010

Some projects cannot be imported

Said Eclipse: "Some projects cannot be imported because they already exist in the workspace".

Which means: "Some projects cannot be imported because project/s of the SAME NAME already exist/s in the workspace."

Which implies that you also can't import two checkouts of the same project. Which would be useful if you want to run, say, a trunk and a branch version of the same project at the same time. Without using two Eclipse instances.

A solution, sort of: rename the existing project; if project's name is ProjectName, rename it ProjectNameTrunk. The .project file will look like this:





After this, you can import your branch (or other project of same name).

-- edit --

Hm: SVN checkout dialog has a 'project name' box to fill in. Wish it could

fill in the name of the folder checked out.

1 comment:

  1. You saved my day !
    Million thanks ;) thanks for info..