Skip to main content



      Home
Home » Newcomers » Newcomers » Unexpected Workspace Configuration
Unexpected Workspace Configuration [message #103218] Tue, 20 September 2005 12:22 Go to next message
Eclipse UserFriend
Originally posted by: eric.kolotyluk.creo.com

I installed Eclipse 3.1 on Max OS 10.4. When it started it asked me where
I wanted my workspace, so I just chose the default in my home directory.

I then created a new project, but told it to use existing sources. I
finally got my project configured and built and it seem to run fine. When
I went to look for some files the application creates as a side effect in
my workspace, they were not there. Searching the file system I found that
it put them in my source tree at the root of the package path. Also, I
found the Eclipse .project file there too.

I find this rather bizarre because when I run the same version of Eclipse
under Windows, it creates a directory in my workspace with the same name
as the project. Under that it puts the .project file and any files the
application creates in the default location. Also, I can put my
application configuration files there.

On the Macintosh, Eclipse created a directory called workspace in my home
directory, but it is empty. This is completely unxexpected, and what I
consider to be incorrect behavior.

Does anyone know what the problem is, and is there a way to fix it?
Re: Unexpected Workspace Configuration [message #104335 is a reply to message #103218] Fri, 23 September 2005 11:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Eric Kolotyluk wrote:
> I installed Eclipse 3.1 on Max OS 10.4. When it started it asked me
> where I wanted my workspace, so I just chose the default in my home
> directory.
>
> I then created a new project, but told it to use existing sources. I
> finally got my project configured and built and it seem to run fine.
> When I went to look for some files the application creates as a side
> effect in my workspace, they were not there. Searching the file system I
> found that it put them in my source tree at the root of the package
> path. Also, I found the Eclipse .project file there too.
>
> I find this rather bizarre because when I run the same version of
> Eclipse under Windows, it creates a directory in my workspace with the
> same name as the project. Under that it puts the .project file and any
> files the application creates in the default location. Also, I can put
> my application configuration files there.
>
> On the Macintosh, Eclipse created a directory called workspace in my
> home directory, but it is empty. This is completely unxexpected, and
> what I consider to be incorrect behavior.
>
> Does anyone know what the problem is, and is there a way to fix it?
>

When you created the project, it sounds like you told it to locate the
project outside your workspace (you say "told it to use existing
sources" which is a bit ambiguous). In that case Eclipse does exactly
that - uses an external location on your file system.
There is another feature of Eclipse that uses a Project located in your
workspace but can link to folders outside the workspace (for example, if
source files live elsewhere). It sounds as if THAT is what you really want.
"Linked Resources" is the term to search for in Eclipse Help if you want
to learn the details of using them.

HTH,
Eric
Re: Unexpected Workspace Configuration [message #104424 is a reply to message #104335] Fri, 23 September 2005 12:21 Go to previous message
Eclipse UserFriend
Originally posted by: eric.kolotyluk.creo.com

Eric Rizzo wrote:

> Eric Kolotyluk wrote:
>> I installed Eclipse 3.1 on Max OS 10.4. When it started it asked me
>> where I wanted my workspace, so I just chose the default in my home
>> directory.
>>
>> I then created a new project, but told it to use existing sources. I
>> finally got my project configured and built and it seem to run fine.
>> When I went to look for some files the application creates as a side
>> effect in my workspace, they were not there. Searching the file system I
>> found that it put them in my source tree at the root of the package
>> path. Also, I found the Eclipse .project file there too.
>>
>> I find this rather bizarre because when I run the same version of
>> Eclipse under Windows, it creates a directory in my workspace with the
>> same name as the project. Under that it puts the .project file and any
>> files the application creates in the default location. Also, I can put
>> my application configuration files there.
>>
>> On the Macintosh, Eclipse created a directory called workspace in my
>> home directory, but it is empty. This is completely unxexpected, and
>> what I consider to be incorrect behavior.
>>
>> Does anyone know what the problem is, and is there a way to fix it?
>>

> When you created the project, it sounds like you told it to locate the
> project outside your workspace (you say "told it to use existing
> sources" which is a bit ambiguous). In that case Eclipse does exactly
> that - uses an external location on your file system.
> There is another feature of Eclipse that uses a Project located in your
> workspace but can link to folders outside the workspace (for example, if
> source files live elsewhere). It sounds as if THAT is what you really want.
> "Linked Resources" is the term to search for in Eclipse Help if you want
> to learn the details of using them.

> HTH,
> Eric

Thanks, I figured it out now. When I'm in the Project properies dialog, I
have to create a source folder there (and make it a link). I don't think I
like that "use existing sources" feature, it's misleading.

I didn't notice the problem before when I upgraded to Eclipse 3.1 because
I had existing projects from Eclipse 3.0, and they were already configured
properly.
Previous Topic:I do not see a folder called 'Workspace'
Next Topic:Eclipse 3.1 does not load new plugins
Goto Forum:
  


Current Time: Thu May 08 07:35:43 EDT 2025

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

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

Back to the top