How to keep an eclipse workspace synchronized among two machines?

Jose M Vidal picture Jose M Vidal · Oct 27, 2009 · Viewed 7.5k times · Source

I have nearly identical Linux (Fedora) machines at home and at work and I keep my files on both machines synchronized using the excellent Unison program. I have been trying to keep an eclipse workspace synchronized across the two machines but this has failed. I tried both:

  1. Synchronize just the /workspace directory, badness due to plugin upgrades
  2. Synchronize both /workspace and my .eclipse/ director.

What happens is that I work in one machine, create new projects on eclipse, etc. Then unison. Then when I go to the other machine the projects will sometimes not appear, sometimes they will appear but eclipse cannot find the files, and sometimes (rarely) it works.

I don't understand why eclipse gets so confused since I have identical workspaces, eclipse versions, and even .eclipse directories.

Answer

jldupont picture jldupont · Oct 27, 2009

Have considered going through a source control repository? If privacy is a concern, there are private SVN spaces available (e.g. assembla).

I understand this technique will (at least) make it possible to synchronize the projects but probably not all the settings related to a workspace. It might be an option, no?