I'm trying to use ftp task in my build.xml (Ant 1.2 release).
But I have problems with it.
First, I've got:
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
So I've added following line to my build.xml:
<taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.FTP"/>
And i've got another error:
java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTPClient
at org.apache.tools.ant.taskdefs.optional.FTP.execute(FTP.java)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:122)
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)
There is not com.oroinc.* package in jars in ant's lib dir.
The question is:
What am I doing wrong? From where can I get com/oroinc/net/ftp/FTPClient
class?
Any help would be appreciated.
---
Damian Golda
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]