- This topic has 5 replies, 3 voices, and was last updated 19 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
jameszhuMemberI created a web project and during creation I chose to add JSTL 1.1 library to WEB-INF/lib folder, but after the project was created, in MyElipse perspective, in Package Explorer view, the two lib file(jstl.jar and standard.jar) were displayed directly under the project root instead of under the WebRoot/WEB-INF/lib, but physically these two files reside under /WEB-INF/lib in the file system.
screenshot here:
How can I make the lib files to be displayed under WEB-INF/lib? thanks.
Scott AndersonParticipantThey’re in WEB-INF/lib. It’s just the Package Explorer that moves them to the top level with your other libraries (J2EE, JRE), since they’re on the classpath. To see that, open the Navigator view since it shows the physical layout on the filesystem.
jameszhuMemberI use Package Explorer view for develop. Navigator view is just for file system navigating. If I have lots of jar files under WEB-INF/lib, the project root display under Package View will be uncessarily unnavigatable. So my question is, is it able for those jar files physically under WEB-INF/lib to be displayed under WEB-INF/lib in the Package Explorer view?
Thanks for the help.
Scott AndersonParticipantSo my question is, is it able for those jar files physically under WEB-INF/lib to be displayed under WEB-INF/lib in the Package Explorer view?
No, it isn’t. The Package Explorer view just doesn’t have that option. But, using the filters on the view you can keep them from being displayed at all.
jameszhuMember@support-scott wrote:
So my question is, is it able for those jar files physically under WEB-INF/lib to be displayed under WEB-INF/lib in the Package Explorer view?
No, it isn’t. The Package Explorer view just doesn’t have that option. But, using the filters on the view you can keep them from being displayed at all.
Are you sure about this? I’ve tried every filter of the Package View, none of the filters is able to filter the two jar files out.
Please help, thanks.
Maybe I should file a feature request since the jar files under /WEB-INF/lib are natually special, they *should* appear under the /WEB-INF/lib folder in the Package View.
Riyad KallaMemberAdd a custom filter for *.jar, that will filter them out.
-
AuthorPosts