ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: War Task With Multiple XML Descriptors
Date Thu, 13 Mar 2003 14:08:25 GMT
On Thu, 13 Mar 2003, Nicholas <> 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"/>


View raw message