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 157568 - Display panel incorrect shows Show in Client checkbox for {lib,core}/*.jar
Summary: Display panel incorrect shows Show in Client checkbox for {lib,core}/*.jar
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 17:53 UTC by Jesse Glick
Modified: 2014-01-11 04:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-01-28 17:53:59 UTC
JarWithModuleAttributes sets a default value:

added.addConfiguredAttribute(new Manifest.Attribute("AutoUpdate-Show-In-Client",
Boolean.toString(!Project.toBoolean(getProject().getProperty("is.autoload")) &&
Project.toBoolean(getProject().getProperty("is.eager")) && "modules".equals(getProject().getProperty("module.jar.dir")))));

Yet CustomizerDisplay is missing this last clause:

if (autoUpdateShowInClient == null) {
    autoUpdateShowInClient = !getBooleanProperty(SingleModuleProperties.IS_AUTOLOAD) &&
!getBooleanProperty(SingleModuleProperties.IS_EAGER);
}

So for e.g. o.n.upgrader, the checkbox in the GUI is checked, yet the generated MANIFEST.MF will say AU-S-I-C: false.
Comment 1 Martin Kozeny 2014-01-10 12:02:19 UTC
https://hg.netbeans.org/core-main/rev/20ce754a6477
Comment 2 Quality Engineering 2014-01-11 04:45:43 UTC
Integrated into 'main-silver', will be available in build *201401110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/20ce754a6477
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #157568: Display panel incorrect shows Show in Client checkbox for {lib,core}/*.jar.