https://issues.apache.org/bugzilla/show_bug.cgi?id=45181
Summary: Added a timeout option to get task
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=22108)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22108)
patch to add timeout to get target
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. This patch is Java 1.4.2 compatible.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.