Skip to main content



      Home
Home » Newcomers » Newcomers » Workspaces and projects
Workspaces and projects [message #119251] Wed, 23 November 2005 10:44 Go to next message
Eclipse UserFriend
Originally posted by: caiken.gmail.com

I'm new to Eclipse and I have to admit that I haven't really bought in to
the current way that projects are managed. I'm used to having a workspace
in an arbitrary folder, which can reference a number of projects in separate
arbitrary folders, which can reference the source code in separate arbitrary
folders. It seems that the mindset with Eclipse is that everything should
be put in a single workspace heirarchy. I think I've found a way that I can
have a project in an arbitrary folder different from where the workspace is.
However, the source code must still reside in the project folder.

I know that I can manage the build completely myself with makefiles, but
then I sort of lose the benefit of using an IDE. I'm building a somewhat
complex application which pulls in source from different source code control
servers and trees. It looks like I can get to the point of doing what I
want to, but it's a real pain to get into this whole mindset.

Another thing that I haven't figured out is the search functionality. What
if I want to search for a piece of code that isn't in my workspace? There
currently isn't a facility to add an arbitrary path to the working set.
Don't other people want to search for other snippets of code that are on
their machine, but not in their current workspace? This seems to limit the
search functionality quite a bit for me.

Am I totally missing the point here? The environment seems pretty nice, but
seems to have some fundamental quirks that put me off.

Thanks,
Craig
Re: Workspaces and projects [message #119393 is a reply to message #119251] Wed, 23 November 2005 15:55 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Craig wrote:
> I'm new to Eclipse and I have to admit that I haven't really bought in to
> the current way that projects are managed. I'm used to having a workspace
> in an arbitrary folder, which can reference a number of projects in separate
> arbitrary folders, which can reference the source code in separate arbitrary
> folders. It seems that the mindset with Eclipse is that everything should
> be put in a single workspace heirarchy. I think I've found a way that I can
> have a project in an arbitrary folder different from where the workspace is.
> However, the source code must still reside in the project folder.

Your workspace does not have to contain your projects - they can be in
arbitrary locations on your file system.
Usually the code for a particular project will be located within that
project's directory. It is possible to use the Linked Resource feature
to link in a directory from a location other than the project's, but
that is not usually necessary.

What is usually done when code lives in multiple locations is to set up
multiple Eclipse projects and appropriate references between them.

Have you gone through the Getting Started guides in the Eclipse Help
(under Workbench User Guide and Java Development Guide)? There are a
couple of tutorials there that should give you a good understanding of
project organization and set-up, including examples of several typical
project directory structures and how to get them set up in Eclipse.

> Another thing that I haven't figured out is the search functionality. What
> if I want to search for a piece of code that isn't in my workspace? There
> currently isn't a facility to add an arbitrary path to the working set.
> Don't other people want to search for other snippets of code that are on
> their machine, but not in their current workspace? This seems to limit the
> search functionality quite a bit for me.

The Eclipse search is designed to search only the resources that Eclipse
knows about - it is not a general file system search tool (there are
lots of those already).

Of course you can always look for a feature request in Bugzilla and/or
enter one of your own. Ain't open source great?

HTH,
Eric
Previous Topic:Embedded HC12 Metrowerks with Eclipse
Next Topic:Changing US_export_policy.jar and local_policy.jar files for Java encryption
Goto Forum:
  


Current Time: Wed Apr 16 01:37:56 EDT 2025

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

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

Back to the top