Invalid project description [message #270705] |
Thu, 07 May 2009 21:37  |
Eclipse User |
|
|
|
Hi,
I'm experiencing the following error:
I created a project Test on eclipse Ganymede.
I deleted the project Test(the entry on eclipse, not the contents) and
renamed the contents to TestBackup
I try to create a new Test project, I receive an error:
Invalid project description
Test_Dir overlaps the location of another project:'test'
Is this behavior from eclipse, normal?
|
|
|
|
|
|
|
|
Re: Invalid project description [message #990589 is a reply to message #270705] |
Thu, 13 December 2012 05:25   |
Eclipse User |
|
|
|
I had a similar issue when I have noticed that Eclipse saves a full copy of my project (located in a directory somewhere outside the workspace) in the workspace directory. I am not surprised if I am using Eclipse in the wrong way. It was this copy that caused my problems. There are two solutions:
1. Remove this copy.
2. Create a new workspace.
The following is a bit off topic, but I think many of the issues with Eclipse (problems like the one discussed here, or problems with version management of your source code) is caused by two things, which in turn makes people confused:
1. The "workspace" concept, which can be removed entirely if you ask me. Let the user open any project anywhere in the file structure, and store all project data and other meta data at the location of the project, not in a different location. If a workspace fills the same purpose as a "Solution" in Visual Studio, then a single file (the .sln file in VS) is all that is needed, not an entire directory with a full copy of all projects! That is just a waste of disc space!
2. The diffuse definition of a "project". What file is it that defines the project? In Eclipse there doesn't seem to be such a file. The entire directory structure is your project, with all possible and impossible obscure files containing metadata about your project.
|
|
|
|
Re: Invalid project description [message #1374316 is a reply to message #270705] |
Thu, 22 May 2014 11:27  |
Eclipse User |
|
|
|
I was getting the same error message when I deleted all of the projects from a Project Explorer and then tried to add the projects back.
I discovered the mistakes I made.
In Eclipse Version: 4.2.0, This error message would happen when I:
1) Clicked "File" menu item,
2) Selected "Import",
3) In "Import", Opened "Android",
4) Selected "Existing Android Code Into Workspace",
5) Clicked "Next",
6) In "Import Projects", Browsed and clicked the directory containing my Android projects,
7) If a particular project was among the selected, I got an error message of this format:
Invalid project description.
Reason: Invalid project description.
Details:
$ProjectPath + " overlaps the location of another project: '" + $ProjectName + "'"
Where:
$ProjectPath = full path of project directory
$ProjectName = project name
I had no such problems if I made different selections in steps 3 and 4:
1) Clicked "File" menu item,
2) Selected "Import",
3) In "Import", Opened "General",
4) Selected "Existing Projects Into Workspace",
5) Clicked "Next",
and followed the same steps from there, it ran as expected.
|
|
|
Powered by
FUDForum. Page generated in 0.11249 seconds