| War Task With Multiple XML Descriptors | War Task With Multiple XML Descriptors 2003-03-13 - By Stefan Bodewig
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
|
|
 |