DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19523>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19523 zip/unzip should have the capability to use a mapper Summary: zip/unzip should have the capability to use a mapper Product: Ant Version: 1.6Alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Zip (and Unzip) task and children should allow a mapper. There is a clear concept of a source file (what is being zipped) and a target name (how the name appears in the archive). The zipfileset element already supports this in a very limited way through the prefix attribute. This is not general enaough. I would like to do this: <zip destfile="collectedClasses.zip"> <zipgroupfileset dir="zips/"> <include name="*.zip"/> </zipgroupfileset> <mapper type="glob" from="bin/*.class" to="*.class"/> </zip> This would collect all class files from the set of zip files in the zips directory. In the zip files there is a bin directory which contains the actual classpaths, so it needs to be removed.