ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahmoud, Khairy" <Khairy.Mahm...@msdw.com>
Subject Ant "ftp"
Date Mon, 08 Jan 2001 21:25:32 GMT


>  -----Original Message-----
> From: 	Mahmoud, Khairy  
> Sent:	Monday, January 08, 2001 11:15 AM
> To:	'ant-user@jakarta.apache.org'
> Subject:	
> 
> 
> Hi:
> 
> How do I use the optional "ftp" task.
> 
> I downloaded "optional.jar" and included it in my CLASSPATH but still get
> this the following error:
> 
> Could not create task of type: ftp because I can't find it in the list of
> task class definitions.  Common solutions are: 1 execute bin/bootstrap. 2
> use taskdef to declare your task. 3 add the task to defaults.properties.
> 
> 
> If I include this line in "mybuild.xml":
> 	<taskdef name="ftp"
> classname="org.apache.tools.ant.taskdefs.optional.FTP" />
> I get this exception:
> 	java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTPClient
>         at org.apache.tools.ant.taskdefs.optional.FTP.execute(FTP.java)
>         at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
>         at org.apache.tools.ant.Project.runTarget(Project.java:818)
>         at org.apache.tools.ant.Project.executeTarget(Project.java,
> Compiled Code)
>         at org.apache.tools.ant.Project.executeTargets(Project.java,
> Compiled Code)
>         at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:149)
> 
> Appreciate you help ASAP.
> Thank you very much,
> 
> Khairy Mahmoud
>  Morgan Stanley Dean Witter               
>                                                      | onlinel
> khairy.mahmoud@msdw.com
> Direct:  415.344-9089
> Fax   :  415.543-7142
> 

Mime
View raw message