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 177871 - [68cat] EAR build omits custom manifest from WAR module
Summary: [68cat] EAR build omits custom manifest from WAR module
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: David Konecny
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-11-30 11:34 UTC by matthies
Modified: 2009-12-04 03:12 UTC (History)
2 users (show)

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 matthies 2009-11-30 11:34:57 UTC
To reproduce:
1) Create a new Enterprise Application (EAR) project with a Web Module (WAR) sub-project.
2) In the WAR project, add a custom manifest in ${conf.dir} (or add custom manifest entries to the existing manifest file there).
3) Build the WAR. -> The resulting WAR will contain the custom manifest entries.
4) Build the EAR. -> The contained WAR does NOT contain the custom manifest entries. In fact, you can also check the WAR in the WAR project's dist directory, which has been updated by the EAR build and doesn't contain the custom manifest any more.

This used to work correctly in NB 6.7 and earlier.
Comment 1 David Konecny 2009-11-30 18:22:51 UTC
This is regression caused by fix of issue 163971. The fix is trivial - manifest task in build script is missing "update=true" (it was accidentally removed). Both web project and ejb projects are impacted. I would like to resolve this for NB68 as it is regression and it generates wrong EAR application for user to deploy.

Fixed in web-main as 508fa9db9cd8
Comment 2 Petr Jiricka 2009-12-01 01:25:31 UTC
Thanks David. Per the High Resistance process this should be kept open until it is merged into the 6.8 clone, so reopening.
Comment 3 Martin Schovanek 2009-12-01 08:14:53 UTC
Verified at web-main build by QE, please integrate into the release68.
Comment 4 David Konecny 2009-12-01 14:11:22 UTC
Transplanted to release68 as 6a556538e00a
Comment 5 Quality Engineering 2009-12-01 14:26:38 UTC
Integrated into 'main-golden', will be available in build *200912011400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/508fa9db9cd8
User: David Konecny <dkonecny@netbeans.org>
Log: #177871 - [68cat] EAR build omits custom manifest from WAR module
Comment 6 Martin Schovanek 2009-12-04 03:12:28 UTC
Verified at the release68.