ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19523] - zip/unzip should have the capability to use a mapper
Date Thu, 01 May 2003 22:25:52 GMT
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





------- Additional Comments From kovesp@sympatico.ca  2003-05-01 22:25 -------
In addition, zip should apply the selectors of the implicit fileset. Here is 
why:

<zip destfile="App.zip" filesonly="yes">
   <zipgroupfileset dir="${destination.dir}">
      <filename id="nested" name="abc*.zip"/>
   </zipgroupfileset>
   <filename id="toplevel" name="**/*.class" negate="yes" />
</zip>

The "nested" filename selector applies to zip files to be included by 
zipgroupfileset. What I want is that only class files be extracted form the 
zips and added to App.zip. 

I have created a modified version of the Zip task to handle both cases (see 
attached file). What I have done can probably be implemented in a more 
efficient way, and is not tested for all possible cases.

Mime
View raw message