8191133: Ant task to fetch underscore.js requires gzip decoding option
authorhannesw
Tue, 14 Nov 2017 14:18:23 +0100
changeset 47741 d5cf1e1d07ec
parent 47740 fbf7a51ce32f
child 47743 3dfec0fcb34f
8191133: Ant task to fetch underscore.js requires gzip decoding option Reviewed-by: sundar, jlaskey
make/nashorn/build.xml
--- a/make/nashorn/build.xml	Tue Nov 14 12:10:28 2017 +0100
+++ b/make/nashorn/build.xml	Tue Nov 14 14:18:23 2017 +0100
@@ -830,8 +830,8 @@
 
     <!-- underscorejs -->
     <mkdir dir="${test.external.dir}/underscore"/>
-    <get src="http://underscorejs.org/underscore.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true"/>
-    <get src="http://underscorejs.org/underscore-min.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true"/>
+    <get src="http://underscorejs.org/underscore.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true" tryGzipEncoding="true"/>
+    <get src="http://underscorejs.org/underscore-min.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true" tryGzipEncoding="true"/>
 
     <!-- yui -->
     <mkdir dir="${test.external.dir}/yui"/>