0

嗨,我使用git clone https://code.google.com/p/objectify-appengine/ 运行时克隆了存储库,ant jar但出现以下错误-

D:\gae\objectify4\objectify-appengine\build.xml:76: Problem: failed to create task or type antlib:org.apache.ivy.ant:cachepath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -E:\Softwares\apache-ant-1.8.4\lib
        -C:\Users\shwetanka\.ant\lib
        -a directory added on the command line with the -lib argument

需要帮助。

4

1 回答 1

0

编辑:忽略这个答案,构建现在是基于 Gradle 的。安装 Gradle 并运行“gradle build”。wiki 已更新: https ://code.google.com/p/objectify-appengine/wiki/ContributingToObjectify


哇,时间好快!我昨天将构建切换到 Ivy,但尚未更新文档。

下载 Ivy 并将 ivy jar 复制到 ~/.ant/lib。然后你应该能够构建。没有其他配置要求(edit-this-to-build.properties 已被删除)。

如果您想在 Eclipse 中使用 Objectify,请下载 IvyIDE。

在接下来的几天里,构建系统将会有更多的变化,因为我想出了如何让 Ivy 签署并将工件发布到 Maven Central。

顺便说一句:为了获得更快的响应,请发布到 Objectify Google Group。

于 2012-09-24T19:17:04.103 回答