changeset 47922:d5cf1e1d07ec

8191133: Ant task to fetch underscore.js requires gzip decoding option Reviewed-by: sundar, jlaskey
author hannesw
date Tue, 14 Nov 2017 14:18:23 +0100
parents fbf7a51ce32f
children 3dfec0fcb34f
files make/nashorn/build.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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"/>