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 44123 - Library customizer fails to store jar: protocol URLs
Summary: Library customizer fails to store jar: protocol URLs
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-06-01 20:28 UTC by Jesse Glick
Modified: 2007-09-26 09:14 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 Jesse Glick 2004-06-01 20:28:16 UTC
Current dev build. I opened
/space/src/ant/freeform/eg/simple and decided to
make a library "openide-util" to wrap the two JARs
in .../lib. Went to library manager, created the
lib, clicked Add for the classpath,
(multi-)selected lib1.jar and lib2.jar, and added
them. Sort of worked, but Classpath pane showed

file:/space/src/ant/freeform/eg/simple/lib/lib1.jar
file:/space/src/ant/freeform/eg/simple/lib/lib2.jar

and similarly

$userdir/config/org-netbeans-api-project-libraries/Libraries/openide-util.xml

used the file-protocol URLs.

I added to Sources the entry

file:/space/src/nb_all/openide/src/

Not surprisingly, it did not work to do e.g. Go To
Source, and there was no Javadoc in the code
completion popup. I had to shut down, edit the lib
definition to use

jar:file:/space/src/ant/freeform/eg/simple/lib/lib1.jar!/
jar:file:/space/src/ant/freeform/eg/simple/lib/lib2.jar!/

and restart, before it worked.
Comment 1 Tomas Zezula 2004-06-02 16:55:18 UTC
Checking in
j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/VolumeContentModel.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/VolumeContentModel.java,v
 <--  VolumeContentModel.java
new revision: 1.3; previous revision: 1.2
done