共享Linux和Windows之间的Eclipse工作区 [英] Sharing an Eclipse workspace between Linux and Windows

查看:274
本文介绍了共享Linux和Windows之间的Eclipse工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我来用现在Eclipse开发Android版我的Windows机器上相当长的一段时间,但越来越多的我已经开机了我的Ubuntu的分区。老实说,我喜欢这两种操作系统,因为他们都有自己的优点和缺点,但我引导到每一个随机。不管怎么说,我有我的硬盘三个分区。一个用于Windows 8,一个用于Ubuntu的,一个是共享数据(文档,图片,视频等)。不过,我想能够无缝地在开发一个操作系统,然后在其他的。所以,我的数据分区应该能够握住我的工作空间,但我不知道这是否会破坏或损坏的.metadata并有可能毁了我的计划。基本上,我的问题是......在那里了Android SDK,AVD,ADT,工作区,或当两个操作系统的之间使用它们.metadata任何提示或技巧,以便它可以无缝地?

I've come to use Eclipse to develop for Android on my Windows machine for quite some time now, but more and more I've been booting up into my Ubuntu partition. I honestly love both operating systems as they both have their pros and cons, but I boot into each one randomly. Anyway, I have three partitions on my hard drive. One for Windows 8, one for Ubuntu, and one for shared data (docs, pics, videos). But I would like to seamlessly develop on one OS and then on the other. So, my data partition should be able to hold my workspace, but I don't know if that will ruin or corrupt the .metadata and potentially ruin my projects. Basically my question is... are there any tips or tricks with the Android SDK, AVD, ADT, workspace, or .metadata when using them between two OS's so that it works seamlessly?

推荐答案

在理论上,你可以使用Eclipse两种不同的安装管理一个共享的工作空间。然而,你可能会遇到的问题,如果你没有运行的完全的同一版本的两侧(或者,如果升级一面而不是其他的)。

In theory, you can use two different installations of Eclipse to manage one shared workspace. However, you could potentially run into problems if you aren't running exactly the same version on both sides (or, if you upgrade one side but not the other).

在实践中,你可能会更好过有独立的工作区,每个操作系统上,然后具有共享库(使用Git,例如),分享你的code。这不仅将更好地工作,但你可以使用源代码控制了。

In practice, you are probably better off having separate workspaces on each OS, and then having a shared repository (using Git, for example) to share your code. Not only will that work better, but you'll be using source control too.

这篇关于共享Linux和Windows之间的Eclipse工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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