]> source.dussan.org Git - poi.git/commitdiff
fix update-download task
authorAndreas Beeker <kiwiwings@apache.org>
Thu, 24 Nov 2016 00:31:20 +0000 (00:31 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Thu, 24 Nov 2016 00:31:20 +0000 (00:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771066 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 0ea4cbc79fb0bdab815d6341832ba63ec75817bc..5ff29a6a9a3ecfa9c89f73d6637e308391db6dd7 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -2558,10 +2558,9 @@ under the License.
         <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">
@@ -2577,7 +2576,9 @@ under the License.
     </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}">
@@ -2675,4 +2676,4 @@ under the License.
     </section>
 ]]></echo>
        </target>
-</project>
+</project>
\ No newline at end of file