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