Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
authorShabe Razvi <shaber@symbian.org>
Fri, 04 Sep 2009 15:44:00 +0100
changeset 394 44cbd546e285
parent 393 8db8dd000e3b
child 395 1f4867b1e0c1
Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
common/common_props.ant.xml
sf-platform/build.xml
--- a/common/common_props.ant.xml	Thu Sep 03 11:35:26 2009 +0100
+++ b/common/common_props.ant.xml	Fri Sep 04 15:44:00 2009 +0100
@@ -17,6 +17,9 @@
     <property name="sf.spec.pdt.root" value="${env.PDT_HOME}"/> <!-- e.g. C:\Symbian\Tools\PDT_1.0\ -->
 
     <property name="sf.spec.sbs.config" value="armv5"/>
+
+    <!-- sbs -t param -->
+    <property name="sf.spec.sbs.retry.limit" value="5"/>
     
     <!-- When not set -j option is to: 2 X NUMBER_OF_PROCESSORS
     <property name="sf.spec.sbs.numberofjobs" value="2"/>
--- a/sf-platform/build.xml	Thu Sep 03 11:35:26 2009 +0100
+++ b/sf-platform/build.xml	Fri Sep 04 15:44:00 2009 +0100
@@ -150,6 +150,7 @@
                 <hlm:arg name="config" value="tools2_rel.whatlog" />
                 <hlm:arg name="singlejob" value="false" />
                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
         </hlm:argSet>
 
 		<hlm:argSet id="sbs.tools2.clean.var">
@@ -163,6 +164,7 @@
                 <hlm:arg name="config" value="tools_rel.whatlog" />
                 <hlm:arg name="singlejob" value="true" />
                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
         </hlm:argSet>
 
 		<hlm:argSet id="sbs.tools.clean.var">
@@ -175,6 +177,7 @@
         <hlm:argSet id="sbs.main.sbs.var">
                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
         </hlm:argSet>
 
 		<hlm:argSet id="sbs.main.clean.sbs.var">
@@ -294,6 +297,7 @@
           <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:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
           </hlm:argSet>
           <antcall target="compile-main" inheritAll="false" inheritRefs="true">
                   <param name="build.system" value="${sf.spec.build.system}" />
@@ -362,6 +366,7 @@
           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
           			<hlm:arg name="singlejob" value="true" />
           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
     		</hlm:argSet>
 
 			<hlm:argSet id="sbs.tools.clean.var">
@@ -373,6 +378,7 @@
     		<hlm:argSet id="sbs.main.sbs.var">
           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
     		</hlm:argSet>
 
 			<hlm:argSet id="sbs.main.clean.sbs.var">
@@ -381,7 +387,7 @@
 				<hlm:arg name="command" value="CLEAN --check" />
     		</hlm:argSet>
 			
-			<hlm:argSet id="sbs.main.what.sbs.var">
+          			<hlm:argSet id="sbs.main.what.sbs.var">
           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
 				<hlm:arg name="command" value="WHAT" />