如何设置一个Eclipse项目与多个子项目(OSGi的包) [英] How to setup an Eclipse Project with multiple Subprojects (OSGi-Bundles)

查看:585
本文介绍了如何设置一个Eclipse项目与多个子项目(OSGi的包)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sherlog 是一个基于OSGi的日志分析仪,如果我导入该项目作为工作空间的快照我收到很多的在我的工作空间的项目,但我会prefere将它们作为一个项目的子项目。

Sherlog is an OSGi-based log analyzer, if I import this project as an workspace snapshot I receive lot's of projects in my workspace, but I would prefere to have them as subprojects in a project.

另一种选择是从SVN结帐,但后来我遇到的其他问题(我不知道如何设置自动依赖建立)

The other option would be to checkout from svn, but then I face other problems (I don't know how to setup the dependencies for automatically build)

有没有人对这个话题的想法还是不错的链接?谢谢

Does anyone have an idea or good links on this topic? Thanks

推荐答案

编辑:对于Eclipse 4.5和更高版本,请参阅的http:// stackoverflow.com/a/34134833/53897

For Eclipse 4.5 and newer please see http://stackoverflow.com/a/34134833/53897

Eclipse不支持子项目。生命的Eclipse的方法是在工作空间中的一个或多个项目(可能使用的工作组,以避免看到他们全部)。

Eclipse does not support subprojects. The Eclipse way of life is one or more projects in a workspace (perhaps using work sets to avoid seeing them all).

其结果是我们已经建立,我们切换项目时,工作区切换的方法。团队项目是本作CVS不错。对于混帐我为每个工作区的单独克隆作为Eclipse中的Maven支持不拿起在POM层次结构的变化(例如新项目)轻松。

As a consequence we have established an approach where we switch workspaces when switching projects. Team Projects are nice for this for CVS. For git I do a separate clone for each workspace as the Maven support in Eclipse does not pick up changes in the pom hierarchy (like a new project) easily.

这篇关于如何设置一个Eclipse项目与多个子项目(OSGi的包)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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