ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45181] New: Added a timeout option to get task
Date Wed, 11 Jun 2008 00:38:56 GMT
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: notifications@ant.apache.org
        ReportedBy: joshua.moore@armorize.com


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.

Mime
View raw message