Steve,

Specifying ignore ignorenoncriticalerrors=true makes it work like it
used to. It is definately not backward compatible with the old version
unless the default is changed to true. I patched my version with the
following lines in the createParents method based on the comment in the
method that says "Attempts to create existing directories will not cause
errors." Here is what I did:

                    boolean saveIgnoreNoncriticalErrors =
ignoreNoncriticalErrors;
                    ignoreNoncriticalErrors = true;
                    handleMkDirFailure(ftp);
                    ignoreNoncriticalErrors =
saveIgnoreNoncriticalErrors;

David Morris


>>> [EMAIL PROTECTED] 06/11/02 09:16 AM >>>

----- Original Message ----- 
From: "Richard Beton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 4:41 AM
Subject: 1.5beta2 - new problem with FTP task


>   I've been using the FTP task with Ant 1.4 and latterly Ant 1.5b1 to 
> upload my website. It's a useful tool, uploading only the changes, 
> although it's rather slow.
> 
> I got Ant1.5b2 and then the FTP task stopped working. It failed when
it 
> came to a directory that already exists, because it couldn't create
the 
> directory (humph!). Here's an excerpt from by buildfile:

we did make changes to this task, but they were meant to be fixes.

what happens when you set ignorenoncriticalerrors=true ?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to