我如何使用 EGit 轻松地从 git (bitbucket) 导入整个重新定位?在包含 3 个 Eclipse 项目(一个最终项目和两个库项目)的 Eclipse 中放入默认的 git 文件夹,如果我的 Eclipse 工作区文件夹已经包含库项目?
图片警告后:
找不到我的库项目,因为它们与库项目位于不同的文件夹中。我想避免将我的 git local reposition 放在 eclipse 工作区中或更改 project.properties
以链接到 libs 的绝对路径。
最佳答案
or changing project.properties to link to absolute path of libs.
这实际上是一个很好的解决方案,因为您可以声明一个库:
- relative to a project location (或工作区位置),
- 或使用 linked resources ,如 this answer (还有这个 blog post )
这应该有助于您仅导入 TwistedCircle
,因为它的属性将引用与项目或工作区文件夹相关的其他项目。
关于android - 在 eclipse 中使用 egit 导入 android 依赖项目的最佳 git 结构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23637589/