ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reuleaux, Andreas" <A.Reule...@klopotek.de>
Subject AW: rm -f *~
Date Wed, 12 Jul 2000 12:05:06 GMT
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:tfenne@rcn.com]
Gesendet: Mittwoch, 12. Juli 2000 13:20
An: ant-dev@jakarta.apache.org
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: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

Mime
View raw message