Two installations sharing same workspace [message #171040] |
Thu, 14 September 2006 15:42  |
Eclipse User |
|
|
|
Originally posted by: jctown.nb.sympatico.ca
I have my workspace set up on my J drive which is attached to my desktop
computer. I would like to have my laptop installation be able to use
the same workspace. Easy enough to do, just switch workspace. But...
every time I load a java program or something, it tells me that my Build
Path is messed up. The reason for this is that my "J" drive on my
desktop is not my "J" drive on my laptop, I have to change the build
path every time so that if a jar file on the build path is on the J
drive on my desktop, I have to use the file on my F drive (to my laptop)
This is annoying, plus its not very efficient. If I were to be able to
"rename" my F drive on my laptop to "J" would that work?
|
|
|
Re: Two installations sharing same workspace [message #171471 is a reply to message #171040] |
Mon, 18 September 2006 18:34  |
Eclipse User |
|
|
|
Originally posted by: eclipse4.rizzoweb.com
JT wrote:
> I have my workspace set up on my J drive which is attached to my desktop
> computer. I would like to have my laptop installation be able to use
> the same workspace. Easy enough to do, just switch workspace. But...
> every time I load a java program or something, it tells me that my Build
> Path is messed up. The reason for this is that my "J" drive on my
> desktop is not my "J" drive on my laptop, I have to change the build
> path every time so that if a jar file on the build path is on the J
> drive on my desktop, I have to use the file on my F drive (to my laptop)
> This is annoying, plus its not very efficient. If I were to be able to
> "rename" my F drive on my laptop to "J" would that work?
Workspaces are not designed to be shared among multiple machines. They
are, by design, specific to the machine they are on.
To do what you want, you probably only need to share the project
locations, not the workspace. Project files and directories can be
located in the workspace directory, but they don't have to be. So what
you can do is have a separate workspace on each machine, but when you
add the projects to each one, have the project root directory be a
shared location. Then the workspaces are specific to the machine, but
they both refer to the shared location for the project contents.
Note that you will want to make sure to do a Refresh on the projects
that you share this way every time you change which machine you are
working on, so that Eclipse sees the changes in the file system that you
made on the other machine. I think there is a Preferences setting to
have Eclipse automatically Refresh when it starts up; you can try
turning that on to help in this area.
Also note that there is a Project Configuration Tutorial in the Getting
Started section of the Eclipse Help - going through that will probably
help you understand the possibilities even more.
--
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.09496 seconds