Hm, still doesn't work: (For simplicity, just deleting files in the current working directory, the one where build.xml lives in:)
One step backwards: If a have a file exmpl~ in that current working directory <delete file="exmpl~" defaultexcludes="no"/> and <delete file="exmpl~"/> both work fine (deleting the one file) However (after recreating the file exmpl~) neither one of those does the job: <delete file="*~" defaultexcludes="no"/> <delete file="./*~" defaultexcludes="no"/> <delete file="**/*~" defaultexcludes="no"/> Sorry. Any more advice?. Thanks. Andreas -----Ursprüngliche Nachricht----- Von: Tim Fennell [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. Juli 2000 13:20 An: [EMAIL PROTECTED] Betreff: RE: rm -f *~ 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:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2000 07:16 To: '[EMAIL PROTECTED]' 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