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.

Bug 180939

Summary: Adding a file to java sources classpath does not pick up jar files
Product: java Reporter: aongun <aongun>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal Keywords: USABILITY
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description aongun 2010-02-18 16:31:49 UTC
I am working on a project which has many jar dependencies. To make things easy they are located in a single 'lib' folder. I point netbeans to use the folder however it the classes are not resolved. Howeverwhen I add the jars directly then everything is resolved as expected. Java 1.6 allows the use of a wildcard to include all jars in a classpath so it seems it would be possible to include a file of jars and have them all included in the project classpath.
Comment 1 Jesse Glick 2010-02-18 16:51:20 UTC
Currently the JARs must all be added, since adding a folder to CP means it contains unpacked classes. Note that you can multiselect JARs in the file chooser. No support planned for adding a wildcard since this is tricky to support in the Ant script.