Bug 180939 - Adding a file to java sources classpath does not pick up jar files
Adding a file to java sources classpath does not pick up jar files
Status: NEW
Product: java
Classification: Unclassified
Component: Project
6.x
All All
: P3 (vote)
: TBD
Assigned To: Tomas Zezula
issues@java
: USABILITY
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-18 16:31 UTC by aongun
Modified: 2010-02-18 16:51 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo