cancel
Showing results for 
Search instead for 
Did you mean: 

Import projects into Eclipse problems

dbaran
Champ in-the-making
Champ in-the-making
Hello,

I've tried to install dev environment like described in the Development Environment wiki page, but when I try to import some projects like 3rd-party, remote-api, etc… an error box appears with the following message:
Invalid project description
C:/alfresco-dev/sources/projects/3rd-party overlaps the location of another project: 3rd-party


In fact, the project name in the .project description file of the 3rd-party project is "3rd Party", an it seems to be a problem for Eclipse if the project name doesn't match the directory name.

I use Eclipse version 3.2.2 and the last commited Alfreco from HEAD.
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
How are you adding the projects to Eclipse?

You need to add each project individually one at a time. I find it best to turn off the Build Automatically feature in the preferences until you've added all the projects and then turn it back on.

dbaran
Champ in-the-making
Champ in-the-making
I use the process describe in the Development environment wiki page:
Each folder below the projects folder contains an Eclipse project that can be imported:
    File > Import
    General > Existing Projects Into Workspace > Next
    Browse and select a subdirectory of projects
    Finish

gavinc
Champ in-the-making
Champ in-the-making
I'm not sure what's happening here to be honest.

The .project file is correct the reference in there is the name of the project as it appears in Eclipse it shouldn't have anything to do with the directory.

Have you setup any links in your Eclipse workspace that may be pointing to the 3rd-party folder? Just a hint I found doing a Google search.