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 16456] New: - fileset doesn't match "~" emacs backup files
Date Mon, 27 Jan 2003 15:45:59 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=16456>.
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=16456

fileset doesn't match "~" emacs backup files

           Summary: fileset doesn't match "~" emacs backup files
           Product: Ant
           Version: 1.5.1
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: invalidname@mac.com


I tried to write a "cleanemacs" target to delete all the emacs spew (backup files ending in
a tilde, like "MyApp.java~") from my source directory.  Here's the task:

  <!-- TODO: this doesn't seem to work!! -->
  <target name="cleanemacs">
    <echo message="Removing emacs spew..."/>
    <delete>
      <fileset dir="src">
        <include name="**/*~"/>
      </fileset>
    </delete>
  </target>

This task never deletes the *~ files, even though I have a near-identical task to clean out
.class files that works.  Is there something special about the "~" character that I or ant
need to escape-out?

--
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