ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Koontz \(MapQuest\)" <>
Subject RE: Ant fileset - does tilde have special meaning
Date Wed, 13 Jun 2001 23:37:17 GMT
Never mind - I found it.

RTFM - use 'defaultexcludes="no"'   - the pattern  **/*~ is one pattern that
is excluded from matching

  <target name="clean">
    <delete dir="${deploy.home}"/>
       <fileset dir="." includes="**/*.*~" defaultexcludes="no"/>

  -----Original Message-----
  From: David Koontz (MapQuest) []
  Sent: Wednesday, June 13, 2001 4:38 PM
  Subject: Ant fileset - does tilde have special meaning

  in my build.xml

   <target name="clean">
      <delete dir="${deploy.home}"/>
         <fileset dir="." includes="**/*.*~"/>

  the tilde ('~') appears to have some special meaning for ant - it gets

  I have VIM backup files all throughout the src dirs - I'd like them to be
deleted on an
  Ant clean command.  The backup files have a format of *.*~ (ie

  The above delete command doesn't work.

  I also tried  "**/*.*\~"   ie escaping the ~

  Help please,

  David Koontz      
  Software Engineer - Enterprise Services
  Denver, CO                  303 244 0305

View raw message