如何将 Eclipse 应用程序及其所有项目和空间从一台 Mac 复制到另一台 Mac?
我办公室有一台新的 Mac 电脑。我需要从我的家用 Mac 复制 Eclipse。 我需要保持所有设置和插件正常工作,就像在我的家用计算机上一样。此外,我还需要让所有 SVN 设置和项目都正常工作。
那么,您能否建议最好的选择,如何清楚地做到这一点,使最终结果与我当前的家用计算机上的结果完全相同?
I have a new Mac computer at the office. And I need to copy Eclipse from my home Mac.
I need to keep all the setting and plugins working fine, as on my home computer. Moreover, I need to have all the SVN setting and projects working too.
So, can you suggest the best option how to do it clearly, to have the final result completely the same, as I have on my current home computer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Dropbox 对于这种同步可能会派上用场,两者都适用于:
注意:我会在 共享 dropin 文件夹 并同步该目录。
这样,当您更改/更新 Eclipse 版本时,所有插件仍然存在。
由于您的 eclipse.ini 可以引用您的工作空间,具有相对路径,您所需要的只是同步其中的一个文件夹:Eclipse、工作空间、您的项目。
Dropbox might come in handy for this kind of synchronization, both for:
Note: I would install plugins in a shared dropin folder and synchronized that directory as well.
That way, when you change/update your Eclipse version, all your plugins are still there.
Since your eclipse.ini can reference your workspace, with a relative path, all you need is to synchronize one folder with in it: Eclipse, the workspace, your projects.
我个人使用 DropBox 来同步我的家庭和工作计算机以及我在两者之间处理的项目。
在 Dropbox 文件夹中,我有一个“Projects\”文件夹,这是我放置 Eclipse 启动目录的位置。
其次,我会将 Eclipse 的安装目录移动到 dropbox 文件夹中。这将同步您在两台计算机上安装的任何插件。我使用 PC,我的位于 'C:\eclipse\'
I personally use DropBox to sync my home and work computers and the projects i work on between the two.
In the Dropbox folder I have a 'Projects\' folder this is where I would put my Eclipse start up directory.
Secondly I would move your install directory for eclipse into the dropbox folder. this would sync any plug-ins you install on both machines. I use a PC and mine is located at 'C:\eclipse\'
取决于您现有计算机上存储目录的位置。您还可以为每个项目设置单独的源目录,或者将它们存储在工作区目录中。
如果您将项目存储在特定用户(和工作区文件夹)下,则只需在新计算机上设置一个具有相同名称的用户并将文件夹复制到相同位置即可。
如果您将它们存储在根目录之外的某个位置,那么再次将目录直接复制到新计算机的同一位置即可。
Depends on where you have the directories stored on your existing machine. Also you can have separate source directories per project, or have them stored in the workspace directory.
If you have the projects stored under a particular user (and the workspace folder), then just setup a user with the same name on the new machine and copy the folders to the same location.
If you have them stored in some location off the root, then again it should just be a case of copying the directories directly to the new machine in the same location.