ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milind Nirgun" <Nirg...@C-IV.org>
Subject How to flatten in <webinf> element of <war>
Date Mon, 05 Aug 2002 16:24:59 GMT
Hi,

My build script is as below.

    <war warfile="${dir.dist}/${warname}.war" webxml="${some.dir}/common/web.xml" >
	<webinf dir="${some.dir}" 
		includes="**/*.x*, **/*.tld" 
		excludes="**/*.class" />
	....
    </war>

I have some *.xml and *.tld in multiple directories under ${some.dir}, eg. "${some.dir}/abc/xyz.tld".
When I create the war I want them all to be copied under WEB-INF, just like web.xml is. But
with the above script, the war contains - WEB-INF/abc/xyz.tld.
There is no "flatten" attribute to <webinf>. Is there any workaround or solution to
my problem other than putting the *.tld together in the src directories?

Any help will be appreciated.
Thanks
-Milind


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message