This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It would be really convenient if the .jar files in MyProject/web/WEB-INF/lib were automatically included in the project's Libraries. Adding more .jar files to this location would automatically add them to the Project, and removing them from this location would automatically remove them from the project. This would be especially handy for version-controlled projects where the nbproject files themselves are not version-controlled (to keep the version-controlled files IDE-agnostic). Changes to a web project's included libraries could quickly and easily be applied by simply performing a VCS "update" command. The .jar files would be added/removed on the working copy, and the IDE would handle the rest. The default project.properties file for a web project already has the location defined... lib.dir=${web.docbase.dir}/WEB-INF/lib ...or you could use ${webinf.dir}/lib as the location instead.
Perhaps these .jar files could also be listed under a special heading in the expandable Libraries section of the Projects window. Something very literal like "WEB-INF/lib" could work nicely... MyProject + Web Pages + Configuration Files + Server Resources + Source Packages - Libraries Other Project - dist/Other_Project.jar + explicitly-included-library-1.jar + explicitly-included-library-2.jar - WEB-INF/lib + implicitly-included-library-1.jar + implicitly-included-library-2.jar + JDK 1.6 (Default) + Apache Tomcat 6.0.18 And then in the Libraries section of the Project Properties dialog, "WEB-INF/lib" could be automatically listed under the Compile tab much like "Compiled Sources" is automatically listed under the Compile Tests tab.
Once issue 116185 is resolved, this will become a lot easier.
Created attachment 148710 [details] I need to add this jar file to 'Web-Inf/lib"
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss