ant-user mailing list archives

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