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 71055 - Lib Wrapper - pick up Specification-Title from JARs which have it
Summary: Lib Wrapper - pick up Specification-Title from JARs which have it
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Kozeny
URL: http://download.java.net/jdk6/docs/gu...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 19:48 UTC by Jesse Glick
Modified: 2014-01-08 14:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-01-05 19:48:11 UTC
When making a wrapper for a JAR which has Specification-Title in main
attributes, it is probably a good idea to use that as the default value for
Module Display Name rather than Project Name. Some JARs seem to use this.

Cannot use Specification-Title from section attributes, since we don't know
which is most appropriate.
Comment 1 Jesse Glick 2006-01-05 19:50:08 UTC
Example: web/external/commons-el.jar
Comment 2 Jesse Glick 2006-01-05 19:51:36 UTC
Maybe can use Spec-Title from a section if there is only one section in the
manifest. Many JARs seem to include a single section (sometimes with a bogus
name BTW) with all the attrs on it. Test: web/external/jsp-api-2.0.jar
Comment 3 Martin Krauskopf 2008-02-07 17:49:27 UTC
I'm not working on APISupport anymore. Reassigning to owner of the component, so
the issue is not 'forgotten' forever.
Comment 4 Martin Kozeny 2014-01-08 14:52:06 UTC
https://hg.netbeans.org/core-main/rev/7e628d026e56