get プロパティを使用して、ant でファイルを取得しようとしています。私は apache 2 を実行しており、指定された URL から wget と firefox を使用してファイルを取得できますが、ant で次のエラーが表示されます。
[get] Error opening connection java.io.IOException:
Server returned HTTP response code: 503 for URL: http://localhost/jars/jai_core.jar
これは私のbuild.xmlでやっていることです:
<get src="http://localhost/jars/jai_core.jar"
dest="${build.dir}/lib/jai_core.jar"
usetimestamp="true"/>
何がうまくいかないのでしょうか?
編集:何かに。localhost の代わりにボックスの完全なホスト名を指定すると、機能します。