使用 ant 构建 Clojure
Mac OSX Lion
使用brew安装ant
brew install https://raw.github.com/adamv/homebrew-alt/master/duplicates/ant.rb
克隆的clojure git存储库
git clone https://github.com/clojure/clojure.git
进入目录并运行ant
构建失败
BUILD FAILED
/Users/pmunt/Desktop/clojure/build.xml:98: Java returned: 1
相关测试失败失败
[java] FAIL in (Instants) (reader.clj:331)
[java] java.util.Date instants round-trips
[java] expected: (= (-> s read-string) (-> s read-string pr-str read-string))
[java] actual: (not (= #inst "2010-11-13T06:14:15.666+10:00" #inst "2010-11-13T07:14:15.666+10:00"))
Mac OSX Lion
Used brew to install ant
brew install https://raw.github.com/adamv/homebrew-alt/master/duplicates/ant.rb
cloned clojure git repository
git clone https://github.com/clojure/clojure.git
entered directory and ran ant
Build fails
BUILD FAILED
/Users/pmunt/Desktop/clojure/build.xml:98: Java returned: 1
Relevant test failure failure
[java] FAIL in (Instants) (reader.clj:331)
[java] java.util.Date instants round-trips
[java] expected: (= (-> s read-string) (-> s read-string pr-str read-string))
[java] actual: (not (= #inst "2010-11-13T06:14:15.666+10:00" #inst "2010-11-13T07:14:15.666+10:00"))
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您做的事情是正确的,但是您在 HEAD 上遇到了新的日期/时间文字支持的错误。
尝试使用“ant jar”而不是“ant”来跳过运行测试。
You are doing things right, but you have encountered a bug on HEAD with the new date/time literals support.
Try "ant jar" instead of "ant" to skip running the tests.