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 - Adding a file to java sources classpath does not pick up jar files
Summary: Adding a file to java sources classpath does not pick up jar files
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2010-02-18 16:31 UTC by aongun
Modified: 2010-02-18 16:51 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.