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

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

问题描述

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



另一个选项是从svn检出,但是我面临其他问题(我不知道如何设置自动构建的依赖项)

有没有人有这个主题的想法或好的链接?谢谢

解决方案

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






Eclipse不支持子项目。 Eclipse的生活方式是工作区中的一个或多个项目(可能使用工作集来避免看到它们)。



因此,我们已经建立了一种方法,切换工程时切换工作区。团队项目很适合CVS。对于git,我为每个工作区分别执行克隆,因为Eclipse中的Maven支持不会轻松地在pom层次结构(如新项目)中获取更改。


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.

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

解决方案

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


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).

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-Bundles)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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