ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Waiting for <exec> task to succeed
Date Fri, 25 May 2007 13:00:02 GMT
Alexey N. Solofnenko wrote:
> There is <socket> to check for ports, but no "while". I would suggest 
> using <scriptdef> and write it in a code.

There is <waitfor>, that blocks until a condition is met

<waitfor maxwait="20"  maxwaitunit="second" checkevery="500">
   <socket port="8080" server="localhost" />

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

View raw message