昨日リリースされたばかりのr20まで、何ヶ月も問題なくプロジェクトをビルドするためにantを使用してきました。私は基本的に、デフォルトのビルド ファイルによって提供されるフックを使用して、いくつかのマイナーな変更を行います。私のプロジェクトは 2 つのライブラリ プロジェクトを使用しており、ビルドは eclipse から正常に動作します。ただし、ant を使用して公式の署名付きビルドを行います (これには、アプリが運用環境、ステージング環境、または QA 環境のいずれかに接続するビルドを作成するためのターゲットがあります)。これが私が得ているエラーメッセージです:
ビルドに失敗しました /Users/mwolfe/workspace/android-flex/app/build.xml:99: この行の実行中に次のエラーが発生しました: /Users/mwolfe/lib/android-sdk/tools/ant/build.xml:476 : ../shared/SomeSdk/sdk は、プロジェクト /Users/mwolfe/workspace/android-flex/shared/SomeSdk/sdk の project.properties ファイルのないパスに解決されます
ただし、このフォルダーには project.properties ファイルがあり、これは以前は正常に機能していたと確信しています。Android の build.xml の 476 行を見ると、次のようになっています。
<!-- clean target -->
<target name="clean" depends="-setup, -pre-clean"
description="Removes output files created by other targets.">
<delete dir="${out.absolute.dir}" verbose="${verbose}" />
<delete dir="${gen.absolute.dir}" verbose="${verbose}" />
<!-- if we know about a tested project or libraries, we clean them too. -->
<if condition="${project.is.test}">
<then>
<property name="tested.project.absolute.dir" location="${tested.project.dir}" />
<subant failonerror="true">
<fileset dir="${tested.project.absolute.dir}" includes="build.xml" />
<target name="clean" />
</subant>
</then>
</if>
<!-- get all the libraries -->
<if>
<condition><not><isset property="dont.do.deps" /></not></condition>
<then>
<!-- LINE 476 HERE: --> <getlibpath libraryFolderPathOut="project.library.folder.path" />
<if>
<condition>
<isreference refid="project.library.folder.path" />
</condition>
<then>
<!-- clean the libraries with nodeps since we already
know about all the libraries even the indirect one -->
<subant
buildpathref="project.library.folder.path"
antfile="build.xml"
failonerror="true">
<target name="nodeps" />
<target name="clean" />
</subant>
</then>
</if>
</then>
</if>
</target>
これを引き起こしている原因とそれを修正する方法はありますか?