Working on project on both XP & Linux [message #191926] |
Sat, 03 February 2007 13:32 |
Eclipse User |
|
|
|
Originally posted by: jcassidy.galaxyvista.com
Is it possible to work on the same project from both XP & Linux?
(not at the same time)
It would be handy to do development on the same project periodically from
different systems. Previously, when using JBuilder I could shut down on
XP, then load the project up on Linux and continue developing/testing.
I have the workspace on a Linux samba server. Access is via SMB for XP,
and NFS for Linux. If I create a project in that workspace from one
client, then later try to access that project from the other, I get
complaints from eclipse due to the differing paths to the project
components.
For example:
linux = /home/NetDrive/Eclipse/workspace/
XP = N:/Eclipse/workspace
Can this be done with Eclipse?
Thanks!
|
|
|
Re: Working on project on both XP & Linux [message #191929 is a reply to message #191926] |
Sat, 03 February 2007 13:59 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
JC,
Certainly many of us work "like" this, but typically we are extracting
the projects from CVS onto each system, not trying to share a single
workspace across systems. So I'm not sure there is a direct way to do
this sharing. Perhaps someone else has found a way to do this...
Failing that, I think that using "File->Export->General->Archive File"
and then using "File->Import->General->Existing Projects into Workspace"
should allow you to exchange projects between systems...
JC wrote:
>
> Is it possible to work on the same project from both XP & Linux?
> (not at the same time)
> It would be handy to do development on the same project periodically
> from different systems. Previously, when using JBuilder I could shut
> down on XP, then load the project up on Linux and continue
> developing/testing.
>
> I have the workspace on a Linux samba server. Access is via SMB for
> XP, and NFS for Linux. If I create a project in that workspace from
> one client, then later try to access that project from the other, I
> get complaints from eclipse due to the differing paths to the project
> components.
>
> For example:
> linux = /home/NetDrive/Eclipse/workspace/
> XP = N:/Eclipse/workspace
>
>
> Can this be done with Eclipse?
>
> Thanks!
>
|
|
|
Re: Working on project on both XP & Linux [message #191935 is a reply to message #191929] |
Sat, 03 February 2007 15:14 |
Eclipse User |
|
|
|
Originally posted by: jcassidy.galaxyvista.com
Thanks Ed. I am using subversion, but didn't realize that I could use it
to move between systems. So to make certain that I understand...when
moving back and forth simply:
1) Do a commit to the repository on XP/Linux
2) Move to the opposite system and do a checkout
So the checkout implicitly adjusts the paths accordingly on the new system?
Thanks!
|
|
|
Re: Working on project on both XP & Linux [message #191937 is a reply to message #191935] |
Sat, 03 February 2007 16:19 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
JC,
I don't think there is anything in the projects themselves that are
platform specific. In fact, I don't think there (should be) anything
that's even specific to the location in the file system where the
project lives, otherwise everyone using the checked out project would
need to have it live at the same location of the file system, even on
different installations on the same type of platform, which is certainly
not the case. I think all the location specific things live in places
like the
<workspace>/.metadata/.plugins/org.eclipse.core.resources/.projects/*
In case you haven't discovered it, using File->Export...->Team->Team
Project Set is a nice way to share with others the information about
where to extract all your version controlled projects.
JC wrote:
>
> Thanks Ed. I am using subversion, but didn't realize that I could use
> it to move between systems. So to make certain that I
> understand...when moving back and forth simply:
>
> 1) Do a commit to the repository on XP/Linux
> 2) Move to the opposite system and do a checkout
>
> So the checkout implicitly adjusts the paths accordingly on the new
> system?
>
> Thanks!
>
|
|
|
Powered by
FUDForum. Page generated in 0.07989 seconds