Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Shared workspace between Windows and Linux
Shared workspace between Windows and Linux [message #201904] Wed, 28 March 2007 06:14 Go to next message
Eclipse UserFriend
Originally posted by: mareq.mailbox.sk

Hello.

On my computer I have both Linux (Ubuntu Edgy) and Windows (XP) installed.
I am developing the same project on both OSs, switching to the one on
which I need to test the project (it is CDT project, not Java).

The project is stored in CVS also.

Now I use this schema:
1. I have two workspaces - one on Linux partition and second on Windows
partition.
2. When I need to update changes to the second OS, firs I commit changes
from first OS to CVS, restart machine to second OS, update changes from
CVS, continue working.

On both platforms I have the same Eclipse and CDT version.

Question:
I created new FAT32 partition, that is accessible for RW from both OSs.
Is it possible to have the workspace directory on this new partition and
use it from both operating systems (without need of commit to/update from
CVS between each OS switching)?
Would there be no problems?

Thanks.
Re: Shared workspace between Windows and Linux [message #201922 is a reply to message #201904] Wed, 28 March 2007 07:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

Mareq wrote:
> Question:
> I created new FAT32 partition, that is accessible for RW from both OSs.
> Is it possible to have the workspace directory on this new partition and
> use it from both operating systems (without need of commit to/update
> from CVS between each OS switching)?
> Would there be no problems?
>
> Thanks.
>
>
in my opinion there should be no problem (but if you have specific
compiler settings <system dependent paths, project target platform etc.>
you may have some problems)

best regards
b.michalik
Re: Shared workspace between Windows and Linux [message #202057 is a reply to message #201904] Wed, 28 March 2007 16:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Mareq wrote:
> Hello.
>
> On my computer I have both Linux (Ubuntu Edgy) and Windows (XP)
> installed. I am developing the same project on both OSs, switching to
> the one on which I need to test the project (it is CDT project, not Java).
>
> The project is stored in CVS also.
>
> Now I use this schema:
> 1. I have two workspaces - one on Linux partition and second on Windows
> partition.
> 2. When I need to update changes to the second OS, firs I commit changes
> from first OS to CVS, restart machine to second OS, update changes from
> CVS, continue working.
>
> On both platforms I have the same Eclipse and CDT version.
>
> Question:
> I created new FAT32 partition, that is accessible for RW from both OSs.
> Is it possible to have the workspace directory on this new partition and
> use it from both operating systems (without need of commit to/update
> from CVS between each OS switching)?
> Would there be no problems?

In theory it can work, but there are some things that could trip you up.
Most importantly, you'll have to work to keep any absolute
file/directory paths out of your workspace. This is possible, but
requires attention to what you are doing. For example, you can't link to
Javadoc or source that is outside the workspace, and you must use
Classpath Variables whenever you want to include a JAR that is not in
the workspace.

If you want to post the .classpath file for your project(s) we can
easily see if you need to adjust anything.

Also keep in mind that a workspace is designed to be specific to a
particular machine and installation of Eclipse. By sharing one across
two OSs, that is much like trying to share a workspace across two
different machines which almost never works out correctly.

Hope this helps,
Eric
Re: Shared workspace between Windows and Linux [message #206776 is a reply to message #201904] Mon, 23 April 2007 08:38 Go to previous message
Eclipse UserFriend
Originally posted by: mareq.mailbox.sk

Hello.

I solved this. I created two workspaces - one workspace directory (on linux
hdd) or linux, second for Windows (on FAT32 hdd = rw access from linux and
windows). Then I checked out project into windows workspace (FAT32) and only
imported it into linux workspace. This means that the .metadata files are
custom for each platform, but the project source files are the same.

"Mareq" <mareq@mailbox.sk> wrote in message
news:23a5b140bf0309a8e7b39fc01a56573a$1@www.eclipse.org...
> Hello.
>
> On my computer I have both Linux (Ubuntu Edgy) and Windows (XP) installed.
> I am developing the same project on both OSs, switching to the one on
> which I need to test the project (it is CDT project, not Java).
>
> The project is stored in CVS also.
>
> Now I use this schema:
> 1. I have two workspaces - one on Linux partition and second on Windows
> partition.
> 2. When I need to update changes to the second OS, firs I commit changes
> from first OS to CVS, restart machine to second OS, update changes from
> CVS, continue working.
>
> On both platforms I have the same Eclipse and CDT version.
>
> Question:
> I created new FAT32 partition, that is accessible for RW from both OSs.
> Is it possible to have the workspace directory on this new partition and
> use it from both operating systems (without need of commit to/update from
> CVS between each OS switching)?
> Would there be no problems?
>
> Thanks.
>
>
Previous Topic:anybody can pl solve this
Next Topic:jsr-045 SMAP post-processor
Goto Forum:
  


Current Time: Tue Sep 24 14:51:53 GMT 2024

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

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

Back to the top