You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eugene Voytitsky <vi...@sunbay.com> on 2002/06/03 14:59:42 UTC
Hello All,
Consider example:
<zipfileset dir="_some_dir_">
<include name="pattern1"/>
<include name="pattern2"/>
...
<include name="patternN"/>
</zipfileset>
How to compress all matched files with <zip> task
to the top of the ZIP file
in case when these matched files placed
in different subdirs of <some_dir>?
Something like <mapper type="flatten"/>.
What about new attribute "trimpaths" (on/off) for <zipfileset>?
(Together with "prefix" they will be very useful I think).
PPS. Don't suggest to copy with mapper all matched files
to temp dir and then zip them. :)
Thanks in advance.
--
Best regards,
Eugene Voytitsky mailto:viy@sunbay.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>