ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <>
Subject Re: [Bug 1741] New - Ant genera
Date Mon, 14 May 2001 17:14:24 GMT wrote:
...  To fix this problem, if ant is going
> + to overwrite the file, then it should delete the destination file first, since
> + it's going to destroy the current contents anyway. 

Would writing to a temporary file and then renaming that to the
destination file be safer?  

(Killing the Ant process wouldn't (or would be much less likely to) 
end up deleting the data entirely.)

Daniel Barclay
Digital Focus

View raw message