I've got a situation that I'm trying to script around, and I'm somewhat
stumped, and hoping someone might have a solution.

I have an array of servers, prod1, prod2, prod3, and prod4.

I'm using a foreach to call restarts of them. Using the parallel parameter,
this is blazing fast, which is great.

The problem is that I need to pause after the first restart to make sure
that the application came up properly, then pause for 30 seconds after each
of the rest.

What I'd like to do is put an "<input>Hit enter when you would like to
continue</input>" after each of the restarts, but these just end up as part
of the parallel tasks, which all run at the same time, then it waits for me
to hit enter 4 times before completing.

Any thoughts on how to implement this? The first pause could be a long time,
and each of the later ones will be around 30 seconds, as we wait for the
load balancer to notice that http is not responding on the host.  So having
an <input> task would be ideal, but I just can't sort a way to get it to
work.


thanks,
fnord
-- 
View this message in context: 
http://www.nabble.com/Weird-parallel-for-situation-tp23302387p23302387.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to