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 49542 - Enable/disable WAR creation
Summary: Enable/disable WAR creation
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Radko Najman
URL:
Keywords: UI
: 56424 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-24 21:11 UTC by zikmund
Modified: 2006-03-24 10:32 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch without UI in customizer. (+ small variable refactoring of jCheckBoxCommpress) (11.45 KB, patch)
2005-08-25 08:42 UTC, zikmund
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-09-24 21:11:41 UTC
Adding a checkbox "Create WAR" (not just "Compress
WAR") could increase performance in larger
projects during development.

Notice: I saw similar questions on nbusers.
Comment 1 zikmund 2005-03-15 13:54:08 UTC
*** Issue 56424 has been marked as a duplicate of this issue. ***
Comment 2 zikmund 2005-03-15 13:56:29 UTC
Workaround "How to turn off WAR creation" is:
modify your build.xml - add these lines:
     <target name="-do-dist-with-manifest" if="has.custom.manifest"
        depends="init,compile,compile-jsps,-pre-dist">
     </target>
Comment 3 Marek Fukala 2005-03-15 14:00:24 UTC
this workaround works only if you have a custom manifest, what is in 99% I admit
;-).

better is to remove -do-dist-with-manifest,-do-dist-without-manifest from
do-dist target so the target looks like:

<target name="do-dist" depends="init,compile,compile-jsps,-pre-dist"/>
Comment 4 zikmund 2005-05-13 10:10:00 UTC
See duplicate issue 56424 for some time measurement - it took 1,5 minute for
building a large WAR file.
Comment 5 zikmund 2005-08-25 08:42:46 UTC
Created attachment 24220 [details]
Patch without UI in customizer. (+ small variable refactoring of jCheckBoxCommpress)
Comment 6 Radko Najman 2005-08-29 16:06:38 UTC
Proposed patch implemented. Diky Karle!

Checking in ui/customizer/CustomizerWar.form;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerWar.form,v
 <--  CustomizerWar.form
new revision: 1.11; previous revision: 1.10
done
Checking in ui/customizer/WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.95; previous revision: 1.94
done
Checking in ui/customizer/Bundle.properties;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.70; previous revision: 1.69
done
Checking in ui/customizer/CustomizerWar.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerWar.java,v
 <--  CustomizerWar.java
new revision: 1.16; previous revision: 1.15
done
Checking in api/WebProjectUtilities.java;
/cvs/web/project/src/org/netbeans/modules/web/project/api/WebProjectUtilities.java,v
 <--  WebProjectUtilities.java
new revision: 1.3; previous revision: 1.2
done
Checking in resources/build-impl.xsl;
/cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v
 <--  build-impl.xsl
new revision: 1.101; previous revision: 1.100
done
Comment 7 zikmund 2005-09-02 12:31:55 UTC
Verified in 20050902-0547.