You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Blick, Lou" <Lo...@celera.com> on 2000/11/09 17:16:58 UTC

FTP Optional Task

I am trying to use the FTP optional task. Here is the error I am getting:

BUILD FAILED

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)

Total time: 1 second
com/oroinc/net/ftp/FTPClient

I have the optional.jar file, but it doesn't include the actual FTP client
(class com/oroinc/net/ftp/FTPClient). Does anyone know where I can get this
from?

Thanks,
Lou


Re: FTP Optional Task

Posted by Stefan Bodewig <bo...@bost.de>.
Lou Blick <Lo...@celera.com> wrote:

> I have the optional.jar file, but it doesn't include the actual FTP
> client (class com/oroinc/net/ftp/FTPClient).

This is true for almost all optional tasks, they require external
libraries.

> Does anyone know where I can get this from?

Given Java's package naming convention I'd search at www.oroinc.org
;-). Look for NetComponents.

Stefan