ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perkins, Kristian" <>
Subject RE: Deleting 0 kb files
Date Tue, 08 Mar 2005 22:57:09 GMT
 I am sure you mean depending not appending as it would be fairly hard
to delete a file at the same time as appending to it.

You need to use the delete task with a fileset containing a size
selector, i.e.

<!-- delete empty files -->
<delete ...>
<fileset ...>
<size value="0" when="equal"/>

-----Original Message-----
From: Pfau Oliver FRD II [] 
Sent: Tuesday, 8 March 2005 7:59 PM
To: ''
Subject: WG: Deleting 0 kb files


is there a ant core task to delete files appending to the size of it ?


To unsubscribe, e-mail: For additional
commands, e-mail:


 The information transmitted is for the use of the intended recipient only and may contain
confidential and/or legally privileged material. Any review, re-transmission, disclosure dissemination
or other use of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited and may result in severe penalties.
 If you have received this e-mail in error please notify the Privacy Hotline of the Australian
Taxation Office, telephone 13 28 69 and delete all copies of this transmission together with
any attachments. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message