sf-platform/build.xml
changeset 311 7d60f71b6a78
parent 283 1c53d9d8d78d
child 348 bf437da77ab4
--- a/sf-platform/build.xml	Mon Aug 10 10:50:40 2009 +0100
+++ b/sf-platform/build.xml	Wed Aug 12 10:14:39 2009 +0100
@@ -267,7 +267,29 @@
 				</antcall>
 			</else>
 		</if>
-		
+		<if><isset property="sf.os.compile.iterate"/>
+      <then>
+        <for list="${sf.spec.sbs.config}" delimiter="," param="sf.spec.sbs.splitconfig">
+          <sequential>
+  				<echo message="INFO [Iterative compile] @{sf.spec.sbs.splitconfig}"/>
+  
+          <hlm:argSet id="sbs.main.iterate.sbs.var">
+                  <hlm:arg name="config" value="@{sf.spec.sbs.splitconfig}" />
+                  <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+          </hlm:argSet>
+          <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+                  <param name="build.system" value="${sf.spec.build.system}" />
+                  <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
+                  <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
+                  <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
+                  <reference refid="sbs.main.iterate.sbs.var" torefid="sbs.var" />
+                  <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+                  <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
+          </antcall>                
+          </sequential>
+        </for>        
+      </then>
+		  <else>
         <!-- OS main build -->
         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
                 <param name="build.system" value="${sf.spec.build.system}" />
@@ -278,7 +300,8 @@
                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
         </antcall>
-		
+		  </else>
+    </if>		
 		<if><isset property="sf.os.compile.fast"/>
 			<then>
 				<echo message="INFO [FAST COMPILE] Skipping delta and intersect list generation"/>