一个eclipse工作区,同时在两台机器上打开 [英] One eclipse workspace, simultaneously open on two machines

查看:125
本文介绍了一个eclipse工作区,同时在两台机器上打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个eclipse工作区位于服务器和一个朋友,我想同时可以同时处理一个项目。我遇到的问题是,一旦我在一台计算机上打开工作区,就不允许你在另一台电脑上打开它(会抛出一个错误,表示它已经打开了)。我们目前正在使用Dropbox,但是希望服务器,因为这将是即时的,而不是等待dropbox进行同步。

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.

推荐答案

如您所见,您不能在两台机器上同时打开一个Eclipse工作区。

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

这就是编码项目使用Subversion或Git的原因。我不熟悉Git。 Subversion允许多个人制作项目的副本。当您要对Subversion进行更改时,Subversion会管理任何源冲突。

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.

我确定Git做同样的事情,只是使用不同的术语。 GitHub 是一个允许您免费托管公共项目的网站,可让您使用Git或Subversion连接工具。

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.

这篇关于一个eclipse工作区,同时在两台机器上打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆