ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O'Hara, Patrick" <patrick.oh...@workscape.com>
Subject RE: Trying FTP Again
Date Wed, 25 Jul 2001 13:57:20 GMT
I am disinclined to make FTP work differently from all other tasks.  I
understand the decision that Ant should end on a failure.  I would rather
see the retry become part of the task def then part of a particular task,
and I don't think that would fly.

Patrick O'Hara
262-408-3849
patrick.ohara@workscape.com




-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Wednesday, July 25, 2001 12:32 AM
To: ant-user@jakarta.apache.org
Subject: Re: Trying FTP Again


On Tue, 24 Jul 2001, Patrick O'Hara <patrick.ohara@workscape.com>
wrote:

>   <taskdef name="ftp"
>            classname="org.apache.tools.ant.taskdefs.optional.net.FTP"/>

This is redundant.

> The idea was to continue to try the FTP task until it works.

Hmm, one could add a retry attribute to the task - want to submit a
patch? 8-) Maybe it should accept a number (and have a different name)
for a maximum of retries, you don't want to have your build running
for months just because there is a typo in the build file.

Stefan

Mime
View raw message