You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Milind Nirgun <Ni...@C-IV.org> on 2002/08/05 18:24:59 UTC
How to flatten in element of
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: How to flatten in element of
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 5 Aug 2002, Milind Nirgun <Ni...@C-IV.org> wrote:
> Is there any workaround or solution to my problem other than putting
> the *.tld together in the src directories?
Copy them to a temporary directory using <copy>'s flatten attribute
and <war> them from there.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>