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


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to