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
[EMAIL PROTECTED]
-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 12:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Trying FTP Again
On Tue, 24 Jul 2001, Patrick O'Hara <[EMAIL PROTECTED]>
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