how to time out an ant task

Posted by Christopher Dancy on Stack Overflow See other posts from Stack Overflow or by Christopher Dancy
Published on 2010-03-17T15:10:20Z Indexed on 2010/03/17 15:11 UTC
Read the original article Hit count: 303

Filed under:
|
|

Without writing a custom ant task is there a way to use a timeout on a regular ant target? To give some background info ... we are using the delete task to remove all contents of a given directory. Sometimes this directory is massive with lots of generated folders and files. We wanted to have that task say timeout after 5 minutes. I could not find anything online anywhere ... any ideas?

© Stack Overflow or respective owner

Related posts about ant

Related posts about time