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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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>

Reply via email to