How to transfer Eclipse workspace and project from Windows to Linux and Mac

Posted by Li Ma on Stack Overflow See other posts from Stack Overflow or by Li Ma
Published on 2009-04-04T15:20:48Z Indexed on 2010/06/14 22:22 UTC
Read the original article Hit count: 147

Filed under:
|
|
|

We have a a product developed on Windows for years. The product is composed of one Eclipse workspace and about 20 projects. On Windows, we ask every developer check out projects into d:\dev\product folder, and copy a unified Workspace to d:\dev\prod_workspace. This way, whenever a new machine is set, we simply copy files to the same folder, and we can start working immediately.

No We need to move our development environment to Linux and Mac. But there's no D:\ on Unix. And home folder for Linux is mostly like /home/username and /Users/username for Mac. We found Eclipse keeps absolute path in workspace when referring to projects, so simply copy workspace over does not work anymore. Even when we manually create/configure workspace on a Linux machine, it still cannot be copied over to another user, because the absolute path is changed.

I guess our goal is to allow easy setup of development environment. Do you have any suggestion to move eclipse workspace around?

Thanks!

Li

© Stack Overflow or respective owner

Related posts about Windows

Related posts about linux