Invalid project description when importing existing projects into workspace [message #230122] |
Thu, 25 May 2006 12:09 |
Eclipse User |
|
|
|
Originally posted by: somewhere.nowhere.com
Hi,
I experienced the following today.
I am using:
Eclipse SDK
Version: 3.1.2
Build id: M20060118-1600
In eclipse I can "Import exiting projects into Workspace", *IF and only
IF*
the <name></name> in the .project file matches the name of the folder in
which it exists.
To confirm; I created a Java project in my workspace, by name HelloWorld.
Subsquently deleted it from workspace, WITHOUT deleting contents from the
file system.
Next in the file system, edited ONLY the ".project" file of this project.
I changed <name>HellWorld</name> into <name>Not-HelloWorld</name>
Returning back to eclipse, tried the command
File -> Import -> Import exiting projects into Workspace
Specified the folder for the HelloWorld. The Projects list box in the
dialog listed Not-HelloWorld. (read the .project file). I selected it and
clicked finnish. An error dialog popped up, saying Invalid project
description.
Detail showed
D:\Users\Jeevan\workspace\HelloWorld overlaps the workspace location:
D:\Users\Jeevan\workspace.
I reedited the .project file manually and restored the <name></name>
following which I was able to import it into my workspace.
Anybody had any similar experience.
thx
g1
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03549 seconds