ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Voytitsky <>
Subject <zipfileset>
Date Mon, 03 Jun 2002 12:59:42 GMT
Hello All,

Consider example:
<zipfileset dir="_some_dir_">
   <include name="pattern1"/>
   <include name="pattern2"/>
   <include name="patternN"/>

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                

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message