如何在Eclipse的Java EE透视图中隐藏参考库? [英] How do I hide Referenced Libraries in Eclipse's Java EE perspective?

查看:283
本文介绍了如何在Eclipse的Java EE透视图中隐藏参考库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse的普通Java透视图似乎隐藏了引用的库(在你的项目的参考库文件夹中)。不幸的是,Java EE透视图似乎没有这样的功能,并且使其不直观。



任何人都可以看出这个问题吗?

解决方案

参考库视图在Java透视图的Package Explorer视图中可用。



在Java EE透视图中,项目资源管理器视图是默认值(与包资源管理器视图相反)。因此,如果您希望查看引用库,则必须在Java EE透视图中打开Package Explorer视图。



请注意,此视图不会删除用户库已被添加到项目中。引用库的使用主要用于项目内部的用户jar或jar,通常位于项目的lib目录下。


Eclipse's normal Java perspective seems to hide Referenced Libraries just fine (in a "Referenced Libraries" folder in your project). Unfortunately, the Java EE perspective does not seem to have this same feature and enabling it is non-intuitive.

Can anyone shed some light on this issue?

解决方案

The "Referenced Libraries" view is available in the Java perspective, in the Package Explorer view.

In the Java EE perspective, the Project Explorer view is the default (as opposed to the Package Explorer view). Therefore, if you wish to view the Referenced Libraries, you must open the Package Explorer view in the Java EE perspective.

Note that this view will not remove the user libraries that have been added to the project. The use of Referenced Libraries is primarily for user jars, or jars internal to the project, often placed under the lib directory of the project.

这篇关于如何在Eclipse的Java EE透视图中隐藏参考库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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