ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From detlef.bren...@canoo.com
Subject Re: War Task With Multiple XML Descriptors
Date Thu, 13 Mar 2003 14:11:33 GMT
As War is an extension of Jar and Zip I guess you could do something like:




<war webxml="${xml.dir}/web.xml" ...>


...


<zipfileset dir="${xml.dir}" prefix="WEB-INF" includes="jboss-web.xml" />


</war>




This generates a war file as before plus the jboss-web.xml within WEB-INF/ 
folder too.




regards,


detlef






Quoting Nicholas <nwhitehe@yahoo.com>:




> I am trying to use the War taks, but I have two,


> descriptors: web.xml and jboss-web.xml. I have tried a


> couple of things to get both in, to no avail:


> 


> <war destfile="${out.dir}/ExWebApp.war"


> webxml="${xml.dir}/*.xml" >


> 


> <war destfile="${out.dir}/ExWebApp.war"


> webxml="${xml.dir}/web.xml,${xml.dir}/jboss-web.xml" >


> 


> Neither of these worked.


> 


> Is there any way to do this ?


> 


> Thanks.


> 


> //Nicholas


> 


> 


> =====


> 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/


> 


> ---------------------------------------------------------------------


> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org


> For additional commands, e-mail: user-help@ant.apache.org


> 



Mime
View raw message