ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas <nwhit...@yahoo.com>
Subject Re: War Task With Multiple XML Descriptors
Date Thu, 13 Mar 2003 15:14:28 GMT
Thanks. That did the trick.

//Nicholas


--- Stefan Bodewig <bodewig@apache.org> wrote:
> On Thu, 13 Mar 2003, Nicholas <nwhitehe@yahoo.com>
> wrote:
> 
> > I am trying to use the War taks, but I have two,
> > descriptors: web.xml and jboss-web.xml.
> 
> And jboss-web.xml is in no way special to <war>.
> 
> > I have tried a couple of things to get both in, to
> no avail:
> > 
> > <war destfile="${out.dir}/ExWebApp.war"
> > webxml="${xml.dir}/*.xml" >
> 
> The webxml attribute is for web.xml, nothing else.
> 
> You want
> 
> <war destfile="${out.dir}/ExWebApp.war"
> webxml="${xml.dir}/web.xml">
>   <webinf dir="${xml.dir}">
>     <include name="jboss-web.xml"/>
>   </webinf>
> </war>
> 
> Stefan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
nwhitehe@yahoo.com
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/

Mime
View raw message