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 グループに投稿してください。

于 2012-09-24T19:17:04.103 に答える