Java 试图编译Cyberduck和ant错误

Java 试图编译Cyberduck和ant错误,java,macos,ant,Java,Macos,Ant,我试图在MacOSX上从SVN编译Cyberduck,我已经运行make来获取xcode项目,并尝试从GUI运行“构建和编译”,在出现错误之前,一切似乎都进行得很顺利: /Users/chmouel.boudjnah/tmp/cyberduck/build mac.xml:187:0/Users/chmouel.boudjnah/tmp/cyberduck/build mac.xml:187:问题:无法创建任务或键入scp Cause: Could not load a dependent cl

我试图在MacOSX上从SVN编译Cyberduck,我已经运行make来获取xcode项目,并尝试从GUI运行“构建和编译”,在出现错误之前,一切似乎都进行得很顺利:

/Users/chmouel.boudjnah/tmp/cyberduck/build mac.xml:187:0/Users/chmouel.boudjnah/tmp/cyberduck/build mac.xml:187:问题:无法创建任务或键入scp

Cause: Could not load a dependent class com/jcraft/jsch/UserInfo
       It is not enough to have Ant's optional JARs
       you need the JAR files that the optional tasks depend upon
       Ant's optional task dependencies are listed in the manual.


Action: Determine what extra JAR files are needed, and place them in one of:
        -/usr/share/ant/lib
        -/Users/chmouel.boudjnah/.ant/lib
        -a directory added on the command line with the -lib argument


Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
Total time: 5 minutes 4 seconds
我已经添加了这个文件~/.ant/lib/ant-jsch.jar,但仍然不走运。你知道我是否丢失了一些文件或环境变量吗


干杯,

在类路径中需要jar

在类路径中需要jar

将Ant的依赖项从/lib/ext复制到~/.Ant/lib/.jar*。这记录在。

将Ant的依赖项从/lib/ext复制到~/.Ant/lib/.jar*。除非Cyberduck强制执行0.1.42,否则最好使用更高版本(目前最新版本为0.1.44)。我正在努力让jsch进入maven Central,除非Cyberduck强制执行0.1.42,否则最好使用更高版本(目前最新版本为0.1.44)。我正在努力让jsch进入maven central