Yes. Let's say the <display-name> is foo...

<war warfile="foo" ...

-Rob A

> -----Original Message-----
> From: Meryl Silverburgh [mailto:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to