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"/>
</fileset>
</delete>

-----Original Message-----
From: Pfau Oliver FRD II [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 8 March 2005 7:59 PM
To: 'user@ant.apache.org'
Subject: WG: Deleting 0 kb files

Hi,

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

Thanks
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]




****************************************************************
                            IMPORTANT

 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to