在Windows和Mac OS X之间的Dropbox上共享Eclipse目录 [英] Sharing Eclipse directory on Dropbox between Windows and Mac OS X

查看:214
本文介绍了在Windows和Mac OS X之间的Dropbox上共享Eclipse目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题接近我的,但不完全。

This question was close to mine, but not quite.

我有一个Windows桌面和一个MacBook Pro。我希望能够将我的Eclipse工作区保存在我的 Dropbox 文件夹中。问题是许多项目设置在平台之间变化:引用JRE,JDK和其他库。

I have a Windows desktop and a MacBook Pro. I'd like to be able to keep my Eclipse workspace in my Dropbox folder. The problem is that many project settings change between platforms: references to JREs, JDKs, and other libs.

我看到这个问题的每一个讨论似乎都表明有利于源控制系统的忽略功能,使得这样的文件仍然是本地的,因此能够保持平台特定。但是,当您使用一个真正的单个共享文件夹时,该类解决方案不适用。

Every discussion I've seen of this problem seems to suggest taking advantage of the source control system's ignore functionality, so that such-and-such file remains local-only and thus able to remain platform-specific. But when you're working with a real single shared folder, that class of solution doesn't apply.

您是否有幸在使用Java Eclipse项目通过网络共享的单个文件夹,跨平台?

Have you had luck working with a Java Eclipse project living in a single folder shared over the network, cross-platform?

推荐答案

我将Dropbox中的所有项目文件夹中的Eclipse工作区,但是使用Dropbox的新的选择性同步功能来确保.metadata文件夹不被同步。

I have my Eclipse workspace inside Dropbox with all my project folders within, but use the new-ish "Selective Sync" feature of Dropbox to make sure that the .metadata folder is not synced.

这意味着我的Mac和Windows机器有自己的.metadata文件夹,但项目文件夹保持同步。

This means my Mac and Windows machines have their own .metadata folders but the project folders remain in sync.

似乎工作到目前为止...

Seems to be working so far...

这篇关于在Windows和Mac OS X之间的Dropbox上共享Eclipse目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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