ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
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">
  <not>
   <socket port="8080" server="localhost" />
  </not>
  <waitfor>


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


Mime
View raw message