Eclipse中的嵌套项目和项目文件夹 [英] Nested projects and project folders in Eclipse

查看:670
本文介绍了Eclipse中的嵌套项目和项目文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Maven允许项目之间的亲子关系。默认情况下,父项目预计位于父文件夹中。



是否可以将此结构应用于Eclipse?



目前,我已经将所有文件夹分别导入项目而不复制源,因此在 Package Explorer 中的每个项目都有单独的节点。



不幸的是,它会导致各种故障,包括 EGit functionning。

解决方案

Eclipse 4.5(从Mars M5开始)将包含允许在其父项下嵌套项目的机制。
您可以通过访问Eclipse Platform的最新快照构建(它是IDE的一个子集,但包含更改)可以尝试一下。 http://download.eclipse.org/eclipse/downloads/drops4/N20150124-1500/ ,当Mars M5准备就绪时,您可以从 http://eclipse.org/downloads 访问也包含此功能的全功能IDE。



参考 https:/ /bugs.eclipse.org/bugs/show_bug.cgi?id=427768


Maven allows parent-child relationship between projects. By default, parent project is expected locating in parent folder.

Is it possible to adopt this structure to Eclipse?

Currently I have imported all folders separately as project with sources without copying and consequently have separate nodes for each project in Package Explorer.

Unfortunately it causes various glitches including EGit functionning.

解决方案

Eclipse 4.5 (starting from Mars M5) will include a mechanism that allows to nested projects under their parent one. You can already give it a try by accessing the latest snapshot build of Eclipse Platform (which is a subset of the IDE, but which contains the change) http://download.eclipse.org/eclipse/downloads/drops4/N20150124-1500/ , when Mars M5 is ready, you'll be able to access from http://eclipse.org/downloads a full featured IDE which also contains this feature.

Reference https://bugs.eclipse.org/bugs/show_bug.cgi?id=427768

这篇关于Eclipse中的嵌套项目和项目文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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