ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrik Isegran <Patrik.Iseg...@cellnetwork.com>
Subject How to delete files with mapper
Date Fri, 11 May 2001 14:34:29 GMT
I'm trying to delete generated files with a specific extension, but I don't
know how to do.
 
Example:
When compiling files with the extension *.not_java files with the extension
*.java are created, when I do an "ant clean" I would like to delete all
those created *.java files, I want to do something like this:

  <target name="clean">
    <delete>
      <mapper type="glob" from="*.not_java" to="*.java"/>
    </delete>
  </target>
 
Which will find all *.not_java files and delete its corresponding *.java
file
 
But mapper isn't supported by delete.
 
Regards,
/Patrik


Mime
View raw message