One eclipse workspace, simultaneously open on two machines [duplicate]

a 夏天 提交于 2019-12-13 08:06:29

问题


I have an eclipse workspace located on a server and a friend and I would like to be able to simultaneously work on a project at the same time. The problem I run into is that once I open the workspace on one computer it won't allow you to open it on the other computer (will throw an error saying it is already open). We are currently using dropbox but would like the server since that would be instant instead of waiting for dropbox to sync.


回答1:


As you've discovered, you can't have one Eclipse workspace open simultaneously on two machines.

That's why coding projects use either Subversion or Git. I'm not familiar with Git. Subversion allows multiple people to make a copy of the project. When you want to commit your changes to Subversion, Subversion manages any source conflicts.

Afterwards, you update your project to bring in the other person's (people's) code changes, so that you workspace copies of the project remain synchronized.

I'm sure Git does the same thing, just using different terms. GitHub is one web site that allows you to host public projects for free and lets you use either a Git or a Subversion connection tool.



来源:https://stackoverflow.com/questions/21991611/one-eclipse-workspace-simultaneously-open-on-two-machines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!