ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: How to Match backup files: *~
Date Thu, 19 Apr 2001 06:08:55 GMT
At 08:07  19/4/01 +0200, fm wrote:
>hi
>
>how can i match emacs backup files (*~) to delete them within
>the clean target?
>
>this doesn't work for me:
>
><target name="clean" depends="init">
>  <delete dir="${build.dir}"/>
>  <delete dir="${dist.dir}"/>
>  <delete>
>    <fileset dir="${basedir}">
>      <include name="**/*~"/>
>    </fileset>
>  </delete>
></target>

    <delete> 
      <fileset dir="." includes="**/*~" defaultexcludes="no"/>
    </delete>
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message