Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Change to FTP behavior in ant 1.5.2?

Change to FTP behavior in ant 1.5.2?

2003-03-06       - By Matt Lyon
Reply:     1     2     3     4  

Hi,

I've noticed that upgrading to 1.5.2 seems to have "broken" one of my ftp tasks
. The ftp task in question uploads a several levels deep directory structure to
a remote system. This always worked fine in the past, but in Ant 1.5.2, I get
the following:

BUILD FAILED
file:C:/master/starman/build/build.xml:1588: could not change to directory: 550
starnode\admin: No such file or directory.

The issue is caused by the fact that I don't explicitly create all the
directories on the remote system, only the top level directory, and in the past
, Ant seemed to just generate the remote sub-directories under the top level
directory as needed during the transfer on the fly. Is this something to do
with separators ('/' Vs. '\') being changed in Ant 1.5.2? It looks like the
fact that it's coming from Window$ and going to Unix and the separators is the
issue, but this was never a problem in the past...

Matt


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.