ant の最新バージョンをダウンロードし、このガイドを使用してインストールしました
コマンドを使用してant
ビルドプロセスを開始したところ、
All features of the build script require Ant version 1.8.2. Please upgrade to 1.8.2 or remove all instances of 'overwrite=no' (and this fail task) from the build script to continue"
これは私のbuild.xmlのスニペットです
<!-- Load in Ant-Contrib to give us access to some very useful tasks! -->
<!-- the .jar file is located in the tools directory -->
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="${basedir}/build/tools/ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
<!-- Test for Ant Version Delete this task and all instances of `overwrite='no'` if you can't upgrade to 1.8.2-->
<fail message="All features of the build script require Ant version 1.8.2. Please upgrade to 1.8.2 or remove all instances of 'overwrite=no' (and this fail task) from the build script to continue">
<condition>
<not>
<contains string="${ant.version}" substring="1.8.2"/>
</not>
</condition>
</fail>
v1.9.0 を使用していますが、1.8.2 が必要であるか、または overwrite=yes を実行する必要があるという失敗メッセージが表示されますが、解決できません。v1.8.2 のみを使用する必要がありますか?