ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Use of Sleep
Date Fri, 29 May 2009 16:08:52 GMT

5 and 10 minutes does seem quite excessive.  3 seconds was more along the lines of the sleeping
I had to add to builds when I was doing a lot of builds on... you guessed it, Windows (which
apparently may return control to the caller before the system is fully finished with the process).
 I would certainly experiment with reducing those times if I were you.


--- On Fri, 5/29/09, Eric Fetzer <> wrote:

> From: Eric Fetzer <>
> Subject: Use of Sleep
> To: "Ant Users" <>
> Date: Friday, May 29, 2009, 10:45 AM
> I've seen a lot of folks following
> <exec> tasks with sleep.  Doesn't the exec task wait
> for a return code prior to returning to the caller?  I
> inherited A BUNCH of Ant build files that were just RIDDLED
> with 5 minutes of sleep here 10 minutes of sleep there... 
> The build takes half of a day to finish when all is said
> and done.  To me, that is rediculous.  I come from a dot
> net/NAnt environment where my longest build took 20 minutes
> and I wasn't happy with that one.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message