Skip to main content



      Home
Home » Newcomers » Newcomers » 2 Computers, 1 classpath, how?
2 Computers, 1 classpath, how? [message #249262] Tue, 19 February 2008 02:46 Go to next message
Eclipse UserFriend
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 #249266 is a reply to message #249262] Tue, 19 February 2008 02:56 Go to previous messageGo to next message
Eclipse UserFriend
Have you consider putting that library into workspace?
Re: 2 Computers, 1 classpath, how? [message #249283 is a reply to message #249262] Tue, 19 February 2008 04:39 Go to previous messageGo to next message
Eclipse UserFriend
You should always hold all external-dependencies in your workspace. Or
as an alternative you could define a variable point to the folder the
..jar's are located in. Still I would strongly advise you keep everything
into your workspace AND in a version control-system like SVN, CVS, ...
where the general rule is that you should be able to checkout and your
project builds auto of the box.

Tom

Samantha schrieb:
> 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?
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: 2 Computers, 1 classpath, how? [message #249414 is a reply to message #249262] Tue, 19 February 2008 10:22 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: 2 Computers, 1 classpath, how? [message #249592 is a reply to message #249414] Wed, 20 February 2008 21:24 Go to previous message
Eclipse UserFriend
Originally posted by: SNYP40A1.excite.com

Thanks for the support, I will lookup how move the JARs into my workspace.
Previous Topic:eclipse on Vista X64
Next Topic:How to find & add snippets to Eclipse
Goto Forum:
  


Current Time: Sun May 11 07:09:11 EDT 2025

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

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

Back to the top