Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
War Task With Multiple XML Descriptors

War Task With Multiple XML Descriptors

2003-03-13       - By Nicholas
Reply:     1     2     3     4     5  

Thanks. That did the trick.

//Nicholas


--- Stefan Bodewig <bodewig@(protected)> wrote:
> On Thu, 13 Mar 2003, Nicholas <nwhitehe@(protected)>
> 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@(protected)
> For additional commands, e-mail:
> user-help@(protected)
>


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


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