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 18995] New: - Feature Request: <zip> task and/or <fileset> data type to support nested <mapper> elements
Date Mon, 14 Apr 2003 14:36:20 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=18995>.
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=18995

Feature Request: <zip> task and/or <fileset> data type to support nested <mapper>
elements

           Summary: Feature Request: <zip> task and/or <fileset> data type
                    to support nested <mapper> elements
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: sarcher@us.ibm.com


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