Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

get timeout patch

Joshua Moore

2008-06-09

Replies:

Author LoginPost Reply
Hi, For my work I needed to added a timeout option for the ant get task.
So I modified the existing Get.java to add the timeout option. I wanted
to share this with the ant community so I am including a patch that has
my changes (made against the 1.7.0 source code). To use simply add the
"timeout=#" to the get tag (# is the number of seconds before the get
operation it timed out). I hope this is useful.



Josh

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.