You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2016/11/24 00:31:20 UTC

svn commit: r1771066 - /poi/trunk/build.xml

Author: kiwiwings
Date: Thu Nov 24 00:31:20 2016
New Revision: 1771066

URL: http://svn.apache.org/viewvc?rev=1771066&view=rev
Log:
fix update-download task

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1771066&r1=1771065&r2=1771066&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Thu Nov 24 00:31:20 2016
@@ -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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org