Sharing Workspaces and Projects [message #248505] |
Sun, 10 February 2008 20:46  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.07437 seconds