I'm looking for a way to allow multiple users to work on a single project, possibly simultaneously. Is this possible?
Basically, I have one code tree that remains synced between multiple machines and I would like to allow multiple users to either have a workspace in that location, or have that code tree in their own workspace (not copied, just have their own workspace that can edit the code from that location).
Paul Webster Messages: 6859 Registered: July 2009 Location: Ottawa
Eclipse workspaces themselves are designed not to be shared. They go through an SCM (source control).
But some possible options:
1) each user uses their own workspace, but points their projects or links folders in their projects to the common location. Then they activate the FileSystem refresh preference from Preferences>General>Workspace. There can still be some collision, though, as a refresh picks up another change while a user is adding his own change to a file.
2) some combination of #1 with a remote EFS implementation or RSE from Target Management. I'm not sure how RSE deals with changes from one machine to the common location, it might be last to write on a collision wins.
Really, though, running it through an SCM like git could save you a lot of hassles if you continually get editing collisions.