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 71050

Summary: APIdocs for libraries package not clear on zip urls
Product: projects Reporter: ischneid <ischneid>
Component: LibrariesAssignee: Jan Jancura <jjancura>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ischneid 2006-01-05 19:25:07 UTC
The DTD for libraries as included in the package overview notes this for resources:

 Example:
 jar:file:///usr/lib/java/xerces.jar!/ is resolved to /usr/lib/java/xerces.jar/
 jar:nbinst:///modules/ext/junit.jar!/ is resolved to
${netbeans.home}/modules/ext/junit.jar

Its not clear that the jar protocol should also be used for zip files (as noted
from the junit module) or if some other protocol (zip?) should be used.
Comment 1 Jesse Glick 2006-01-05 20:06:26 UTC
jar: protocol should work fine on ZIP files. The format is the same; a JAR just
conventionally has a manifest.
Comment 2 Jan Lahoda 2006-01-27 12:03:31 UTC
=>project/libraries. The file in question is
projects/libraries/src/org/netbeans/api/project/libraries/package-summary.html
Comment 3 Jesse Glick 2009-10-20 17:04:49 UTC
core-main #2bbb90dd3766
Comment 4 Quality Engineering 2009-10-22 23:53:13 UTC
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2bbb90dd3766
User: Jesse Glick <jglick@netbeans.org>
Log: #71050: clarifying that JARs are ZIPs.