ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <Daniel.Barc...@digitalfocus.com>
Subject Re: [Bug 1741] New - Ant genera
Date Mon, 14 May 2001 17:14:24 GMT
bugzilla@apache.org 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
-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com

Mime
View raw message