Skip to main content



      Home
Home » Newcomers » Newcomers » Sharing Workspaces and Projects
Sharing Workspaces and Projects [message #248505] Sun, 10 February 2008 20:46 Go to next message
Eclipse UserFriend
Originally posted by: russell.thamm.dsto.defence.gov.au

I want to place my Eclipse Java Workspaces and Projects under Revision
Control so that when I check-out my code onto a new machine, I don't have
to recreate the workspaces and projects.

I've tried placing the workspace folder, the entire .metadata tree, the
project folders, the project sources and resources, the .classpath and
project files into the repository under subversion.

When I check this out on a new machine and open Eclipse, the projects
don't appear in the workspace (I have to import them).

More importantly, Eclipse does things to the .metadata folder that causes
subversion all sorts of problems. I couldn't perform an update on the
source tree without first performing a clean.

I've searched the net looking for some instructions on doing this.

Are there any instructions for doing this?
Re: Sharing Workspaces and Projects [message #248600 is a reply to message #248505] Mon, 11 February 2008 12:14 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Russell Thamm wrote:
> I want to place my Eclipse Java Workspaces and Projects under Revision
> Control so that when I check-out my code onto a new machine, I don't
> have to recreate the workspaces and projects.

The first thing to know is that workspaces are not intended to be
checked in to source control - they are specific to a particular
environment (file system) and don't do well being relocated. Every time
someone comes here asking for help in checking in a worksapce they are
basically turned away.
I've moved a workspace from one machine to another before, but it
requires manual tweaking of a bunch of internal files and I don't even
try anymore - just too much trouble.
With source control you just check in the projects (all contents) and
you can export/import your Preferences between workspaces.

Hope this helps,
Eric


> I've tried placing the workspace folder, the entire .metadata tree, the
> project folders, the project sources and resources, the .classpath and
> project files into the repository under subversion.
>
> When I check this out on a new machine and open Eclipse, the projects
> don't appear in the workspace (I have to import them).
>
> More importantly, Eclipse does things to the .metadata folder that
> causes subversion all sorts of problems. I couldn't perform an update on
> the source tree without first performing a clean.
> I've searched the net looking for some instructions on doing this.
> Are there any instructions for doing this?
Previous Topic:properties file in user library?
Next Topic:Exception in thread "main" java.lang.NoClassDefFoundError
Goto Forum:
  


Current Time: Mon Sep 15 09:12:21 EDT 2025

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

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

Back to the top