ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <raghu.changlave...@bt.com>
Subject MS FTP problem with ant 1.6.1
Date Fri, 30 Apr 2004 18:59:57 GMT
Hi,

	I am having problems using the ftp task. The build says it successful but it doesnt
retreive any files (I do have three zip files at the specified location).The necessary jar
files commons-net-1.1.0.jar and jakarta-oro-2.0.8 are present in the ant/lib dir. it also

has ant-jakarta-oro.jar & ant-commons-net.jar. The log file says it couldnt load a few
class 
files. But those class files looks totally irrelevant for this operation.

My build.xml file with the ftp tag is as follows:

<?xml version="1.0"?>

<project name="ftp-test" default="ftp-target" basedir=".">

  <target name="ftp-target">

	<ftp server="${intranet.new.host}"	  port="2121" remotedir="${intranet.oracle9i.dir}"
		action="get" userid="${intranet.oracle.user}" password="${intranet.oracle.password}"
 binary="yes" depends="yes" verbose="yes">

 	<fileset dir="${personal.oracle.dir}">
      	<include name="**/*.zip"/>
      </fileset>
  	
	</ftp>
  </target>

</project>


This is the output that i get in my logfile:

Adding reference: ant.PropertyHelper
Detected Java version: 1.3 in: C:\bea\jdk1.3.1_09\jre
Detected OS: Windows 2000
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.1 compiled on February
12 2004
Setting ro project property: ant.file -> D:\APACHE~1.1\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile D:\APACHE~1.1\build.xml with URI = file:///D:/APACHE%7e1.1/build.xml
Setting ro project property: ant.project.name -> ftp-test
Adding reference: ftp-test
Setting ro project property: ant.file.ftp-test -> D:\APACHE~1.1\build.xml
Project base dir set to: D:\APACHE~1.1
 +Target: 
 +Target: ftp-target
Build sequence for target `ftp-target' is [ftp-target]
Complete build sequence is [ftp-target, ]

ftp-target:
      [ftp] Opening FTP connection to 10.234.210.58
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] changing the remote directory
      [ftp] getting files
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
Could not load a dependent class (com/starbase/starteam/Item) for type stlist
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Could not load a dependent class (junit/framework/TestListener) for type junit
Could not load a dependent class (com/starbase/starteam/Item) for type stcheckin
Could not load a dependent class (com/starbase/starteam/Item) for type stcheckout
fileset: Setup scanner in dir D:\apache-ant-1.6.1 with patternSet{ includes: [**/*.zip] excludes:
[] }
      [ftp] 0 files retrieved
      [ftp] disconnecting

BUILD SUCCESSFUL
Total time: 2 seconds


Thanks & Regards
Raghu.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message