ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Morris" <David.Mor...@plumcreek.com>
Subject Re: 1.5beta2 - new problem with FTP task
Date Tue, 11 Jun 2002 15:41:55 GMT
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


>>> steve_l@iseran.com 06/11/02 09:16 AM >>>

----- Original Message ----- 
From: "Richard Beton" <richard.beton@roke.co.uk>
To: <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message