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 250681 - Can't browse jar file(s) in a folder under the Libraries node
Summary: Can't browse jar file(s) in a folder under the Libraries node
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 10:13 UTC by justsomeguy805
Modified: 2015-07-14 01:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description justsomeguy805 2015-02-25 10:13:52 UTC
Recreate:  Create a "Java Application" project, add a folder containing a jar file to the "Libraries" node.

If I add a jar file directly instead of a folder to the Libraries node, I can browse its contents every time.  With the folder I can't always do this.  

It's very inconsistent.  I thought that maybe with the folder that not having the option to browse files was standard behavior but I noticed that sometimes I can.  Sometimes there will be a jar I can browse, and then I will paste a copy of that same jar file into that directory and I won't be able to browse that newly pasted one.
Comment 1 Tomas Zezula 2015-07-10 15:18:30 UTC
The folder containing jar files is not equivalent of list of jar files in the folder.
In fact it's an invalid classpath root.

For example:
ClassPath: lib/a.jar:lib/b.jar is a valid classpath with roots: jar:file:/lib/a.jar!/ and jar:file:lib/b.jar!/.
The ClasPath lib has only root file:/lib/ neither a.jar nor b.jar are on it.
Comment 2 Tomas Zezula 2015-07-13 09:46:17 UTC
Sorry, I've misunderstood the issues.
The issues is not about the fact that the jars in lib/ folder are not on classpath but about the fact that you cannot see the jars content.
This is a valid issue.
Comment 3 Tomas Zezula 2015-07-13 09:51:27 UTC
Fixed jet-main 8fed6ea78f29
Comment 4 Quality Engineering 2015-07-14 01:17:20 UTC
Integrated into 'main-silver', will be available in build *201507140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8fed6ea78f29
User: Tomas Zezula <tzezula@netbeans.org>
Log: #250681:Can't browse jar file(s) in a folder under the Libraries node