]> source.dussan.org Git - vaadin-framework.git/commitdiff
Re-enabled parallel building of widgetsets (disabled in [6387]).
authorMarko Grönroos <magi@iki.fi>
Thu, 17 Sep 2009 12:59:21 +0000 (12:59 +0000)
committerMarko Grönroos <magi@iki.fi>
Thu, 17 Sep 2009 12:59:21 +0000 (12:59 +0000)
svn changeset:8833/svn branch:6.1

build/build.xml

index e69ebed14d74c9c705989f045ceef76dce31441e..af59bcd45822629b9e44e576bea41136152b99cd 100644 (file)
                <echo>Compiled ColorPickerWidgetSet</echo>
        </target>
 
-       <!-- Builds the client-side engine, i.e., the widgetsets. -->
-       <target name="compile-client-side" depends="compile-widgetset-default, compile-widgetset-portal-default, compile-widgetset-reserver, compile-widgetset-sampler, compile-widgetset-colorpicker, compile-widgetset-coverflow">
-        <!-- Building the widgetsets is currently done sequentially, because
-            parallel compilation takes too much memory for most machines. -->
+       <!-- Builds the client-side engine, i.e., the widgetsets in parallel. -->
+       <target name="compile-client-side">
+               <echo>Compiling widget sets in parallel.</echo>
+               <parallel threadsperprocessor="1">
+                       <subant antfile="build.xml" target="compile-widgetset-default" inheritall="true" buildpath="build" />
+                       <subant antfile="build.xml" target="compile-widgetset-portal-default" inheritall="true" buildpath="build" />
+                       <subant antfile="build.xml" target="compile-widgetset-reserver" inheritall="true" buildpath="build" />
+                       <subant antfile="build.xml" target="compile-widgetset-sampler" inheritall="true" buildpath="build" />
+                       <subant antfile="build.xml" target="compile-widgetset-colorpicker" inheritall="true" buildpath="build" />
+                       <subant antfile="build.xml" target="compile-widgetset-coverflow" inheritall="true" buildpath="build" />
+               </parallel>
        </target>
 
        <!-- Definitions for building local components, i.e., not for an installation package. -->