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 10707] New: - Add <mapper> for <Delete>
Date Thu, 11 Jul 2002 17:53:40 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=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: ant-dev@jakarta.apache.org
        ReportedBy: benjachi@yahoo.com


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message