ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Sikka <Ravi.Si...@LOSTWAX.COM>
Subject Newbee ftp question
Date Wed, 11 Apr 2001 10:19:55 GMT
I have installed the latest version of Ant and put
 
jakarta-ant-1.3-optional.jar  and
NetComponents.jar 
 
into ..\lib\optional
 
In my build file I have 
<taskdef name="ftp" classname="com.oroinc.net.ftp.FTP"/>
..
..
<target name="getfile" depends="init">
   <ftp action="get" server="myserver" userid="wl510" password="sfaasd">
      <fileset dir="." ><include name="**/license.txt"/></fileset>   
   </ftp>
</target>
 
but I just get:
..
Buildfile: build.xml
BUILD FAILED
D:\autobuild\build.xml:26: Class com.oroinc.net.ftp.FTP doesn't support the
nested "fileset" element

 
I've tried to change the class name specified in them taskname to FTPClient
and FTPCommand with no luck. 
 
Can anybody help?
 
 
 
 

Ravi Sikka
Software Developer
 
Lost Wax
1 Dee Road, Richmond, Surrey TW9 2JN 
t +44 (0)20 8948 9586| f +44 (0)20 8948 9596 |  <http://www.lostwax.com/>
http://www.lostwax.com

 

Mime
View raw message