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 - Cannot edit definition of wrapped jar
Summary: Cannot edit definition of wrapped jar
Status: RESOLVED DUPLICATE of bug 177531
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 15:35 UTC by tkellerer
Modified: 2011-11-16 01:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Picture that shows that editing is possible right after adding the jar (27.51 KB, image/png)
2011-11-13 15:35 UTC, tkellerer
Details
Wrapped JARs tab after closing and re-opening the project properties (11.59 KB, image/png)
2011-11-13 15:36 UTC, tkellerer
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***