2 Computers, 1 classpath, how? [message #249262] |
Tue, 19 February 2008 02:46  |
Eclipse User |
|
|
|
Originally posted by: SNYP40A1.excite.com
I want to develop a single project, but using two different computers. So
I currently have the project saved on one computer, but I have the
workspace shared on my wireless network. So I can open eclipse and open
the workspace on another computer. This works great except for one
problem. (I am using Windows XP) I have to change the drive letter of the
external JAR files whenever I switch computers. On the computer that
hosts the files, it's C: and on the computer that I do most of my
development on remotely, it's M: Is there a way to get around this?
|
|
|
|
|
Re: 2 Computers, 1 classpath, how? [message #249414 is a reply to message #249262] |
Tue, 19 February 2008 10:22   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Samantha wrote:
> I want to develop a single project, but using two different computers.
> So I currently have the project saved on one computer, but I have the
> workspace shared on my wireless network. So I can open eclipse and open
> the workspace on another computer. This works great except for one
> problem. (I am using Windows XP) I have to change the drive letter of
> the external JAR files whenever I switch computers. On the computer
> that hosts the files, it's C: and on the computer that I do most of my
> development on remotely, it's M: Is there a way to get around this?
>
Workspaces are not designed to be shared between multiple computers.
Projects can be shared, but workspaces have inherent limitations that
don't lend themselves to being "moved."
As other suggested, I would recommend putting the libraries in your
project or in another project that you main project depends on. Having
CVS or SVN is a good practice even when working by yourself. But an
alternative is to store the projects outside the workspace and have both
computers' workspaces point to that shared location.
When creating a project, there is a checkbox to specify a non-default
location - use that to put the project contents outside of your workspace.
If you take that approach, you'll have to invoke Refresh on the projects
whenever you move from one computer to the other.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.08202 seconds