You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Joshua Moore <jo...@armorize.com> on 2008/06/09 06:46:11 UTC

get timeout patch

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


Re: get timeout patch

Posted by Steve Loughran <st...@apache.org>.
Joshua Moore wrote:
> 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, I'm afraid the patch got pulled. Please can you go to 
issues.apache.org and file it under bugzilla

Is the timeout a java1.5+ feature, or does it work on java1.4 and below?


-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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