ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: FTP problem in Ant 1.5.3
Date Wed, 07 Apr 2004 06:45:50 GMT
> Okay, I've run it again with the -debug flag on. Here's what 
> I get (userid
> and password obscured):
>
> [iftp] Error while connecting or logging into FTP Server.

no more infos ...


> BUILD FAILED: Target `none' does not exist in this project.

???


> I'm not sure how to do that. I started a command prompt (I'm 
> in Windows XP)
> in the xml directory of my project and tried:
> ant -v -debug build.xml
> 
> but that didn't work: "'ant' is not recognized as an internal 
> or external
> command, operable program or batch file."

set ANT_HOME to the location where Ant is (so you´ll find
%ANT_HOME%\bin\ant.bat)
add %ANT_HOME%\bin to %PATH%
   
> It's very possible that the port number is the real issue here. The server
> has a fairly high level of security - msec=4 in Linux Mandrake 9.1 - and
> port 21 may be turned off. We usually use SSHWin's Secure File Transfer to
> send files to the server. I was using the iftp task successfully last year
> to send data to the same server but that was before the security got
> increased. The system administrator will be dropping by here in a few
> minutes so I'll know more then.

Is a ftp-server running??? Very important question  :-)
Maybe you´ll need the <scp> task of Ant (1.6).


Jan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message