objectify4 build breaking

时间:2012-09-24 11:23:02

标签: ant objectify

您好我使用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

需要帮助。

1 个答案:

答案 0 :(得分:0)

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


哇,快速的时机!我昨天将构建切换到Ivy,但还没有更新文档。

下载常春藤并将常春藤罐复制到〜/ .ant / lib。然后你应该能够建立。没有其他配置要求(edit-this-to-build.properties已被删除)。

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

在我弄清楚如何让Ivy签署并向Maven Central发布工件时,将在接下来的几天内对构建系统进行更多更改。

BTW:为了更快的回复,请发布到Objectify Google Group。

相关问题