ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Waitfor task
Date Wed, 30 Aug 2006 10:15:15 GMT
DHARNA, AJAY [AG/1000] wrote:
> I forgot to mention, when I hit the URL on the web browser it seems to hang
> and doesn't return - this I why I was hoping the timeout would work in the
> waitfor task.

no, waitfor doesnt do what you want

It spins, evaluating a test for three minutes, but does not kill a test 
that hasnt timed out in three minutes.

No obvious solution springs to mind; the java net apis are pretty bad 
and handling timeouts, and that results in a bad experience for code 
that uses it, including <http> and <get>

-seve

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


Mime
View raw message