]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: For some reason, using parallel for gzip is causing some truncation issues
authorCorey Frang <gnarf@gnarf.net>
Mon, 17 Oct 2011 22:04:14 +0000 (17:04 -0500)
committerCorey Frang <gnarf@gnarf.net>
Mon, 17 Oct 2011 22:05:40 +0000 (17:05 -0500)
(cherry picked from commit d871fe46aa18abd561f2f9189a5e14c00f022420)

build/build.xml

index 285a3fdd74867fe93f190d47f45af6a71199b193..af4cc7f83520feb4d5330817fb9e3292b3105092 100644 (file)
                        <fileset dir="${dist.dir}/themes/base/minified" includes="*.css" />
                </copy>
                <echo message="GZipping Minified" />
-               <parallel threadsperprocessor="2">
-                       <apply executable="gzip">
-                               <fileset dir="${size.dir}" includes="*.min.js" />
-                               <fileset dir="${size.dir}" includes="*.min.css" />
-                               <arg value="-c" />
-                               <srcfile />
-                               <redirector>
-                                       <outputmapper id="out" type="glob" from="*" to="${size.dir}/*.gz"/>
-                               </redirector>
-                       </apply>
-               </parallel>
+               <apply executable="gzip">
+                       <fileset dir="${size.dir}" includes="*.min.js" />
+                       <fileset dir="${size.dir}" includes="*.min.css" />
+                       <arg value="-c" />
+                       <srcfile />
+                       <redirector>
+                               <outputmapper id="out" type="glob" from="*" to="${size.dir}/*.gz"/>
+                       </redirector>
+               </apply>
                <echo message="Comparing file size with previous build" />
                <exec executable="bash">
                        <arg value="-c" />