ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Lyon" <>
Subject Change to FTP behavior in ant 1.5.2?
Date Thu, 06 Mar 2003 16:52:33 GMT

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:

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...


View raw message