You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Reuleaux, Andreas" <A....@klopotek.de> on 2000/07/12 13:15:46 UTC

rm -f *~

Hi,

Can anyone tell me, how to delete tilde-(emacs)-backup-files in a clean
target?
trying all kinds aof patterns didn't work so far:
   <delete file="**/*~"/>
   <delete file="**/*.*~"/>
   etc.

the equivalent (Gnu-)Makefile commands are:
clean:
	rm -f *~

(I am new to this mailing list, and I haven't found an ant-users list) 

Thanks in advance.

Andreas


Re: rm -f *~

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "RA" == Reuleaux, Andreas <A....@klopotek.de> writes:

 RA> Hi, Can anyone tell me, how to delete tilde-(emacs)-backup-files
 RA> in a clean target?

 RA> <delete file="**/*~"/>

**/*~ is one of the defaultexcludes patterns, you will have to say
defaultexcludes="no" for this to work.

Stefan

RE: rm -f *~

Posted by Tim Fennell <tf...@rcn.com>.
I believe the delete task uses the 'default excludes' which includes things
like emacs and vi backup files.

What you need to do is:
	<delete file="**/*~" defaultexcludes="no"/>

-t

-----Original Message-----
From: Reuleaux, Andreas [mailto:A.Reuleaux@klopotek.de]
Sent: Wednesday, July 12, 2000 07:16
To: 'ant-dev@jakarta.apache.org'
Subject: rm -f *~


Hi,

Can anyone tell me, how to delete tilde-(emacs)-backup-files in a clean
target?
trying all kinds aof patterns didn't work so far:
   <delete file="**/*~"/>
   <delete file="**/*.*~"/>
   etc.

the equivalent (Gnu-)Makefile commands are:
clean:
	rm -f *~

(I am new to this mailing list, and I haven't found an ant-users list)

Thanks in advance.

Andreas