且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置一个Eclipse项目与多个子项目(OSGi的包)

更新时间:2022-02-25 06:13:17

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

For Eclipse 4.5 and newer please see http://***.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.