Implemented the "sf.spec.baseline.clean" switch.
authorThomasE@UK-ThomasE.symbian.int
Fri, 01 May 2009 12:16:25 +0100
changeset 102 d9875e573161
parent 101 52cc4f7310db
child 103 5e7e3b1825aa
Implemented the "sf.spec.baseline.clean" switch.
sf-platform/build.xml
--- a/sf-platform/build.xml	Thu Apr 30 16:09:08 2009 +0100
+++ b/sf-platform/build.xml	Fri May 01 12:16:25 2009 +0100
@@ -210,15 +210,17 @@
         </antcall>
 		
 		<!-- OS clean main build -->
-        <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.clean.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>
+		<if><istrue value="${sf.spec.baseline.clean}"/>
+			<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.clean.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>
+		</if>
 		
 		<antcall target="sf-list-dir" inheritAll="false">
 			<param name="sf.list.name" value="post-clean"/>
@@ -350,14 +352,16 @@
     		</antcall>
 			
 			<!-- s60 clean main build -->
-    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
-          			<param name="build.system" value="${sf.spec.build.system}" />
-          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
-                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
-          			<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
-          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
-          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
-    		</antcall>
+			<if><istrue value="${sf.spec.baseline.clean}"/>
+				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
+						<param name="build.system" value="${sf.spec.build.system}" />
+						<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
+						<param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
+						<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
+						<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+						<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
+				</antcall>
+			</if>
 
 			<antcall target="sf-list-dir" inheritAll="false">
 				<param name="sf.list.name" value="post-s60-clean"/>