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=10707>.
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=10707

Add <mapper> for <Delete>

           Summary: Add <mapper> for <Delete>
           Product: Ant
           Version: 1.4
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It would be nice if we can have the <mapper> feature in <delete> like <copy>.
This is good if we want to delete only the files with certain extension but not 
all files with that extension.

e.x.
SQLJ generates .java and .ser file from .sqlj file. There are other non 
SQLJ .java files in the same directory. We only want to delete the .java files 
generated from .sqlj files.

ex. 
  <Delete>
    <fileset dir="./src">
        <include name="**/*.sqlj"/>
    </fileset>
    <mapper type="glob" from="**/*.sqlj" to="**/*.java"/>
    <mapper type="glob" from="**/*.sqlj" to="**/*.ser"/>
  </Delete>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to