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.
|Summary:||Library customizer fails to store jar: protocol URLs|
|Product:||java||Reporter:||Jesse Glick <jglick>|
|Component:||Unsupported||Assignee:||Tomas Zezula <tzezula>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
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