This patch removes the warning from the <war> task from the inclusion of a
web.xml in the .war. If we end up putting a "sample web.xml" that's
actually meant for inclusion as content, we'll need to change the exclude
slightly.

-------------------------------------------------------------------
Joseph B. Ottinger                         http://enigmastation.com
IT Consultant                                [EMAIL PROTECTED]
J2EE Editor - Java Developer's Journal   [EMAIL PROTECTED]
Index: build.xml
===================================================================
RCS file: /cvs/webwork/build.xml,v
retrieving revision 1.13
diff -r1.13 build.xml
224c224,227
<         <war destfile="${build}/${name}-example.war" basedir="${src.webapp}" 
webxml="${src.webapp}/WEB-INF/web.xml">
---
>         <war destfile="${build}/${name}-example.war" 
> webxml="${src.webapp}/WEB-INF/web.xml">
>             <fileset dir="${src.webapp}">
>                 <exclude name="**/web.xml" />
>             </fileset>

Reply via email to