ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <>
Subject Re: Setting a project timeout?
Date Thu, 31 Jul 2003 22:52:45 GMT
The Antelope tasks include a 'limit' task:

"The Limit task is a task container (that is, it holds other tasks) and 
sets a time limit on how long the nested tasks are allowed to run. This 
is useful for unit tests that go awry, hung socket connections, or other 
potentially long running tasks that need to be shut off without stopping 
the build."

Docs at:

Antelope at:

Hope this helps!


Richard Hill wrote:

>I'm using ant to run some tests scripts and I'm running into an issue where
>the scripts (Ant/HttpUnit/JUnit based) hang waiting for a response from a
>web server that may never come. Is there a way of giving an Ant project a
>timeout to fail/end gracefully if it runs too long? If so, how would you do
>Any ideas would be much appreciated.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message