Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse workspace in CVS
Eclipse workspace in CVS [message #115545] Tue, 08 November 2005 11:20 Go to next message
Eclipse UserFriend
Originally posted by: Mark.Holtzclaw.meridianiq.com

I'm working on storing the state of an eclipse workspace in CVS. Has anyone
successfully
done this?

The idea would be for a developer to checkout the workspace (along with
projects) and be
able to start working on a effort without having to (re)configure eclipse.
It would also
provide a fallback state in case the developer hosed his workspace (which
seems to happen
from time to time).

Thanks
Mark Holtzclaw
Re: Eclipse workspace in CVS [message #116702 is a reply to message #115545] Thu, 10 November 2005 15:25 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Mark Holtzclaw wrote:
> I'm working on storing the state of an eclipse workspace in CVS. Has anyone
> successfully
> done this?

While possible, it is not generally designed to work that way. A
workspace is intended to be an installation-specific entity. It includes
absolute paths to locations within itself, meaning if it is checked out
to a different location than where it was created (for example, you
created it in c:\eclipse\workspace but then someone checks it out into
c:\myworkspace), then it will fail miserably. Workspace is also where
all Preferences are stored, and some of those will sometimes have
absolute path names, too.

Remember that the workspace is highly tunable to a user's specific
preferences, so it is difficult to have a "Standard" one that everybody
will use.

Finally, the workspace directory is written to often by Eclipse, so
you'll end up with lots of collisions if people try to check it in after
working with it for a while.

Something that might work is to establish a "baseline" workspace and
have new users grab that as a starting point. But that will only work if
everyone installs it to the exact same path on their machines and their
JDK installations are in the exact same paths - even then I'd recommend
against trying to keep it under SCM control like source code.

That said, I almost always check in whole projects (including the
Eclipse .project and .classpath files) - just not workspaces.

HTH,
Eric
Previous Topic:Eclipse on USB-drive
Next Topic:JAVA Nube
Goto Forum:
  


Current Time: Tue Jul 22 08:28:34 EDT 2025

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

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

Back to the top