<attribute name="url"/>
<attribute name="property"/>
<sequential>
- <local name="entityProperty"/>
<delete file="build/loadFilesize.txt"/>
<record name="build/loadFilesize.txt" action="start" loglevel="verbose" append="false"/>
- <http entityProperty="entityProperty" url="@{url}" method="HEAD" expected="200" printrequestheaders="false" printresponseheaders="false"/>
+ <http url="@{url}" method="HEAD" expected="200" printrequestheaders="false" printresponseheaders="false"/>
<record name="build/loadFilesize.txt" action="stop"/>
<local name="fileSize"/>
<loadfile property="fileSize" srcFile="build/loadFilesize.txt">
</macrodef>
<!-- TODO: currently this only saves a copy and paste snipplet to a file ...
- would be nice if it really changes status.xml and download.xml -->
+ would be nice if it really changes status.xml and download.xml
+ Doesn't work with Java6 - the https urls can't be accessed via loadChecksum
+ -->
<target name="update-download">
<downloadfile src="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/missing-link/ml-ant-http-1.1.3.zip" dest="${compile.lib}/ml-ant-http-1.1.3.zip"/>
<unzip src="${compile.lib}/ml-ant-http-1.1.3.zip" dest="${compile.lib}">
</section>
]]></echo>
</target>
-</project>
+</project>
\ No newline at end of file