ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Voytitsky <...@sunbay.com>
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"/>
</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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message