Moving Projects to a new Machine [message #60760] |
Tue, 03 May 2005 01:25  |
Eclipse User |
|
|
|
Can anyoen tell me the key files to move 10s of personal Eclipse
projects to a new machine? I have moved the source trees,
but how do I teach Eclipse about all the projects I have?
-Paul
|
|
|
|
|
Re: Moving Projects to a new Machine [message #60810 is a reply to message #60771] |
Thu, 05 May 2005 09:56   |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
P.Hill wrote:
> Martin Holmes wrote:
> >>Can anyone tell me the key files to move 10s of personal Eclipse
> >>projects to a new machine? I have moved the source trees,
> >>but how do I teach Eclipse about all the projects I have?
>
> > Move or to be safe copy the workspace,
>
> Ahh, yes, exactly, but the question is how; which file or setting?
> As I said, I have all the files on the new machine exactly
> where it was on the old machine.
>
> >and point eclipse to the workspace.
>
> Your use of the simple sounding 'pointing' suggests one master
> setting somewhere and then it will see the entire collection.
>
> So could you share where that setting is?
> Should I install Eclipse from scratch then set something, or
> should I install then copy some key file over the default install?
> I hope that makes my question more precise and thus answerable.
On the original machine, you have somewhere a workspace directory that
Eclipse is using (the default location is
<eclipse-install-dir>/workspace, but it asked you the first time you
started Eclipse). Copy that directory to the new machine. If the
dreictory structure of the new one is exactly the same as the old one,
you can probably copy the entire Eclipse directory structure. Otherwise,
install Eclipse on the new machine and when starting it for the first
time tell it to use the workspace directory that you copied from the old
machine.
HTH,
Eric
|
|
|
Re: Moving Projects to a new Machine [message #61261 is a reply to message #60810] |
Fri, 06 May 2005 16:32  |
Eclipse User |
|
|
|
Eric Rizzo wrote:
> tell it to use the workspace directory that you copied from the old
> machine.
For the record, the choices for telling Eclipse where the workspace
is located are:
1. setting the start-in dir of the icon, c:\mydev\
where mydev contains \workspaces
1a. invoke it from the command line while working dir is the same dir.
2. use the -data switch to accomplish the same as start-in dir, but
include workspace in the path.
3. In 3.x setting the same value in the IDE via the new menu option.
-Paul
|
|
|
Powered by
FUDForum. Page generated in 0.04790 seconds