Re: using waitfor to verify a server was shutdown

2005-05-11 Thread Ninju Bohra
Here what we do: Houston...we have a problem The ${server.url} is the full URL (http://server.com:port) Later, Ninju --- Ivan Ivanov <[EMAIL PROTECTED]> wrote: > Well, you can use before that condition to > wait f

Re: using waitfor to verify a server was shutdown

2005-05-10 Thread Ivan Ivanov
Well, you can use before that condition to wait for the server to stop: ... HTH Ivan --- Mark Lybarger <[EMAIL PROTECTED]> wrote: > thanks!! i can see how this will help. should i > specify a given amount of > wait time after the server shutdown to see if the > port is not responding,

Re: using waitfor to verify a server was shutdown

2005-05-10 Thread Ivan Ivanov
Hello Mark, I think socket condition might help you: $${server.down} is ${server.down} Here is the output of two checks against bound and unbound ports: $ ant -f ports.xml -Dport=123 Buildfile: ports.xml [echo] ${server.down} is true i.e. there is no one listening

using waitfor to verify a server was shutdown

2005-05-10 Thread Mark Lybarger
is there an example for using the waitfor task (or is there something else i should use?) to wait till a server has shutdown/stopped listening to a particular port? thanks!