Try
<delete>
<fileset dir="." includes="**/*~" defaultexcludes="no"/>
</delete>
On Thu, 9 Aug 2001 15:24, Michael Leo wrote:
> Gang,
>
> Ant version: 1.3
> JDK version: 1.3.1
>
> I'm trying to delete the Emacs backup files
> from my tree using this target:
>
> <target name="clean">
> <delete>
> <fileset dir="." includes="**/*~"/>
> </delete>
> </target>
>
> It is pretty late, but I can't be that dumb.
>
> Oh! Emacs backup files are the same name as the file
> editted followed by a tilde (~) character:
>
> myfile.java
> myfile.java~
>
> Thanks for your time!
> Michael Leo [EMAIL PROTECTED] Java, Oracle
> Caribou Lake Software http://www.cariboulake.com Ingres, JDBC
>
> JSockets/JMobility: Tunnelling sockets over HTTP - REALLY!
--
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 |
*-----------------------------------------------------*