ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Using Ant to build a war file
Date Tue, 12 Jun 2007 21:43:27 GMT
Yes. Let's say the <display-name> is foo...

<war warfile="foo" ...

-Rob A

> -----Original Message-----
> From: Meryl Silverburgh [mailto:silverburgh.meryl@gmail.com] 
> Sent: Tuesday, June 12, 2007 1:53 PM
> To: user@ant.apache.org
> Subject: Using Ant to build a war file
> 
> 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@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message