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 171182

Summary: Manifest file not created properly
Product: java Reporter: luky <luky>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE, REGRESSION
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description luky 2009-08-31 15:19:42 UTC
NB version:  NetBeans IDE Dev (Build 200908270201)

Custom attributes from manifest.mf are not populated into jar.
My project manifest file has this contents:
Manifest-Version: 1.0
Premain-Class: com.sun.javafx.tools.fxd.viewer.premain.Premain


in jar however I can see this manifest:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.2-b01 (Sun Microsystems Inc.)
Comment 1 Tomas Zezula 2009-08-31 19:13:57 UTC
Thanks for report.
It's even bigger problem. The jar is created with correct manifest and then rewritten by a new jar without manifest. In addition to losing the manifest entries 
the jar is created twice.
Comment 2 Tomas Zezula 2009-09-01 12:55:35 UTC
fixed in jet-main: 632b7153604d
Comment 3 Tomas Zezula 2009-09-01 13:27:41 UTC
fixed in jet-main: 632b7153604d
Comment 4 Quality Engineering 2009-09-03 08:43:26 UTC
Integrated into 'main-golden', will be available in build *200909021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/632b7153604d
User: Tomas Zezula <tzezula@netbeans.org>
Log: #171182:Manifest file not created properly