Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Using Ant to build a war file

Using Ant to build a war file

2007-06-12       - By Meryl Silverburgh
Reply:     1     2  

Hi,

I am using the following task to build a war file:

 <target name="war" depends="compile">

       <war warfile="${warfile}" webxml="${webapp}/WEB-INF/web.xml">

           <zipfileset dir="${webapp}">

               <include name="**/*" />

               <exclude name="WEB-INF/src/**" />

           </zipfileset>

       </war>

   </target>

But the problem I have is the '<display-name>' in the web.xml file
does not match the war file that I generated "${warfile}"

Is there a way to configure the 'war' task?

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.