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 205051

Summary: Cannot edit definition of wrapped jar
Product: apisupport Reporter: tkellerer <tkellerer>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Picture that shows that editing is possible right after adding the jar
Wrapped JARs tab after closing and re-opening the project properties

Description tkellerer 2011-11-13 15:35:34 UTC
Created attachment 113166 [details]
Picture that shows that editing is possible right after adding the jar

Using 

Product Version: NetBeans IDE Dev (Build 201111120600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1252; en (nb)
User directory: C:\Daten\NetBeans71
Cache directory: C:\Daten\NetBeans71\var\cache

I cannot add Javadocs or the sources to a wrapped jar. 

When I edit the properties of my module (in a module suite project), and select  "Libraries -> Wrapped JARs", then select my wrapper jar file, the "Edit" button is disable. Therefor I cannot attach the Javadocs or Sources

I can attach the sources and Javadocs right after I added the .jar file itself the Edit button is enabled only right after adding the .jar file.

But this information is lost as soon as the properties dialog is closed and re-opened. Then the edit button is always disabled for existing jar definitions.
Comment 1 tkellerer 2011-11-13 15:36:16 UTC
Created attachment 113167 [details]
Wrapped JARs tab after closing and re-opening the project properties
Comment 2 Jesse Glick 2011-11-16 01:12:09 UTC
Long broken. Anyway in 7.1 this UI hardly matters, since there is ad-hoc source/Javadoc attaching for any JAR regardless of project type.

*** This bug has been marked as a duplicate of bug 177531 ***