ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: Unable to delete directory
Date Tue, 15 Jul 2003 15:06:33 GMT
On Tue, 2003-07-15 at 15:57, Daniel Barclay wrote:
> Michael.Giroux@Bull.com wrote:
> 
> >...  my ant script ran successfully with no
> > errors reported by the delete task.
> > 
> > I'm not sure if 10ms is enough sleep for the general case, but it seems to
> > have solved my problem.  It might be necessary to provide some means to
> > configure the sleep value, but it works on my system as proposed.
> 
> Does it just sleep and then proceed, or does it also wait for successful
> deletion?
It sleeps and proceeds, the task may not be allowed to delete the file.
> 
> If the former case:  Do the latter case.  (Delaying without synchronizing
> is not a general fix, and the time-dependent behavior will be a bear to
> debug.)

Welcome to the wonderful world of windows programing!

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message