首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试编译Cyberduck和ant错误

尝试编译Cyberduck和ant错误
EN

Stack Overflow用户
提问于 2010-12-13 19:58:41
回答 2查看 486关注 0票数 1

我正在尝试从MacOSX上的SVN编译Cyberduck,我已经运行make来获取xcode项目,并尝试从图形用户界面运行‘构建和编译’,在得到这个错误之前,一切似乎都很顺利:

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

代码语言:javascript
复制
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,但仍然没有成功。你知道我是否遗漏了一些文件或环境变量吗?

干杯,

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2010-12-13 20:02:16

您的类路径中需要jsch-0.1.42.jar jar

票数 1
EN

Stack Overflow用户

发布于 2011-09-29 01:02:21

将Ant的依赖项从/lib/ext复制到~/.ant/lib/.jar*。Readme中记录了这一点。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4428566

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档