[英]Eclipse Helios: Java EE Perspective: How to have jars added to build path under one hood like referenced library
I have a GWT+Spring+Hibernate project and so I have several jars in WEB-INF/lib directory. 我有一个GWT + Spring + Hibernate项目,因此在WEB-INF / lib目录中有几个jar。 All of these jars are added to build path.
所有这些jar都已添加到构建路径。 I get unconvenient view for jars in build path like
我在构建路径中看到罐子的不便视图
MY_Project
|->src
|->resource
|->JRE System Library[jdk1.6]
|->ant.jar //from here on jars in build path
|->asm-common.jar
|->asm-util.jar
|->c3p0.jar
|->commons-collections.jar
.
.
.
and this list goes on for 40 more jars here to cover up full screen length. 并且此清单继续显示40个罐子,以掩盖整个屏幕的长度。 Consequently I can't navigate to other dependent project easily.
因此,我无法轻松导航到其他依赖项目。
I would like here something like what I get when I switch to spring perspective: 我在这里想像我切换到Spring透视图时得到的东西:
--------------------------------------------------------------------------------
MY_Project
|->src
|->resource
|->JRE System Library[jdk1.6]
|->Referenced Libraries //<-- here goes all that 40 jars under on hood
|->war
---------------------------------------------------------------------------------
So any suggestions. 所以有什么建议。
Thanks in advance 提前致谢
Window
-> Preferences
. Window
-> Preferences
。 Java
-> Build Path
-> User Libraries
. Java
> Build Path
-> User Libraries
。 From then on the library can be added for any specific project via: right click on your project
-> Build Path
-> Configure
. 从那时起,可以通过以下方式为任何特定项目添加库:
right click on your project
-> Build Path
-> Configure
。 Select Libraries
tab -> Add Library
-> User Library
. 选择
Libraries
选项卡-> Add Library
-> User Library
。
Enjoy! 请享用!
Try this: 尝试这个:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.