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:31:56 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 sarcher@us.ibm.com  2003-05-01 22:31 -------
Since Peter marked my feature request (written 2003-04-14) as a DUPLICATE of 
his (written today), I feel that I need to re-state my original request... If 
there's any reason why this cannot be supported, please say so.

******* ORIGINAL FEATURE REQUEST 2003-04-14 *******
When building a zip file it would be useful to use a <mapper> to change the 
name of the file stored in the zip.  Currently it is necessary to <copy> the 
files and apply a glob <mapper>, and then <zip> the files from there.

It would be great to be able to apply a <mapper> directly to the <zip> task, or

perhaps better still, the <fileset> data type.  For example:

  <zip zipfile="${export.target.filename}">
    <fileset dir="${export.source.dir}">
      <patternset refid="export.project.patternset"/>
      <mapper type="glob" from=".classpath_zip" to=".classpath"/>
    </fileset>
  </zip>

***********************

Mime
View raw message