Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Import existing project fails due to invalid project description "overlaps workspace location&q
Import existing project fails due to invalid project description "overlaps workspace location&q [message #288047] Mon, 11 July 2005 21:14 Go to next message
Eclipse UserFriend
Originally posted by: no.spam.spam

I have a directory structure like this

A/B/C
A/B/C/CVS
A/B/CVS
A/B/D
A/B/D/CVS
X


C and D contain .project files. I am trying to import them as individual
projects in my workspace, which is set to A. When I do this, I get an
error due to invalid project description: "A/B/C overlaps workspace
location A". I can, however, import B as a project, which then shows up
in the Package Explorer view with C and D below it. How come A/B doesn't
overlap workspace location A?

Also, if I instead set my workspace to X, I can import A/B/C and A/B/D
just fine as individual projects.

Now, if I check C and D out directly into the workspace so that I
instead have

A/C
A/C/CVS
A/D
A/D/CVS
X

without that intervening directory B, and have A set as my workspace, I
can then import C and D just fine. Same question: how come A/C doesn't
overlap workspace location A ?

What I'm trying to accomplish is to maintain the same directory
structure in my workspace as is on our CVS repository. Eclipse doesn't
seem to want to let me do this when my source is within my workspace.

Is this a bug, or am I clueless about something pretty basic?

Thanks,

: jay
Re: Import existing project fails due to invalid project description "overlaps workspace locati [message #288281 is a reply to message #288047] Thu, 14 July 2005 20:08 Go to previous message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

There are two kinds of places where projects can be located:

1) In the "default" location. This means that the project directory is a
direct child directory of the workspace directory (aka the platform
instance location), and the project directory name matches the project name.

2) Outside the default location, in a directory that is neither a parent
or child of the platform instance location. In this case the directory
name does not need to match the project name.

In your case C and D are in neither of these two categories. The
location of C overlaps the default location for a project named B, even
though B doesn't exist at the time C is created. The idea is that the
user is never prevented from creating a project in the default location
for that project. If the user wants to choose a non-default project
location, the "non-overlapping" restriction applies. If we allowed you
to create C, we would have to prevent future creation of B in its
default location, or else end up with overlapping projects. I hope that
explanation doesn't create more confusion <g>.
--


Jay Schmidgall wrote:
> I have a directory structure like this
>
> A/B/C
> A/B/C/CVS
> A/B/CVS
> A/B/D
> A/B/D/CVS
> X
>
>
> C and D contain .project files. I am trying to import them as individual
> projects in my workspace, which is set to A. When I do this, I get an
> error due to invalid project description: "A/B/C overlaps workspace
> location A". I can, however, import B as a project, which then shows up
> in the Package Explorer view with C and D below it. How come A/B doesn't
> overlap workspace location A?
>
> Also, if I instead set my workspace to X, I can import A/B/C and A/B/D
> just fine as individual projects.
>
> Now, if I check C and D out directly into the workspace so that I
> instead have
>
> A/C
> A/C/CVS
> A/D
> A/D/CVS
> X
>
> without that intervening directory B, and have A set as my workspace, I
> can then import C and D just fine. Same question: how come A/C doesn't
> overlap workspace location A ?
>
> What I'm trying to accomplish is to maintain the same directory
> structure in my workspace as is on our CVS repository. Eclipse doesn't
> seem to want to let me do this when my source is within my workspace.
>
> Is this a bug, or am I clueless about something pretty basic?
>
> Thanks,
>
> : jay
>
Previous Topic:Language Pack 3.1
Next Topic:Exporting linked resources
Goto Forum:
  


Current Time: Fri Mar 29 02:38:14 GMT 2024

Powered by FUDForum. Page generated in 0.04973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top