简体   繁体   中英

Best git structure for importing android dependent project with egit in eclipse

How can I easily import the whole reposition from git (bitbucket) using EGit in Eclipse that contains 3 Eclipse projects (one end-project and two library projects) into default git folder, if my Eclipse workspace folder already contains library projects?

After warning on the picture:

导入项目存在

My libraries projects are not found because they are in a different folder than the library projects. I would like to avoid putting my git local reposition in eclipse workspace or changing project.properties to link to the absolute path of libs.

缺少 lib 项目

文件夹结构

or changing project.properties to link to absolute path of libs.

That is actually a good solution, since you can declare a library:

链接资源目标

That should help allowing you to import only TwistedCircle , because its properties would refer to other projects relative to the project or the workspace folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM