sf-platform/build.xml
changeset 80 5e7e3b1825aa
parent 79 d9875e573161
child 111 5b0bc2f89660
--- a/sf-platform/build.xml	Fri May 01 12:16:25 2009 +0100
+++ b/sf-platform/build.xml	Fri May 01 14:06:09 2009 +0100
@@ -211,15 +211,17 @@
 		
 		<!-- OS clean main build -->
 		<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>
+			<then>
+				<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>
+			</then>
 		</if>
 		
 		<antcall target="sf-list-dir" inheritAll="false">
@@ -353,14 +355,16 @@
 			
 			<!-- s60 clean main build -->
 			<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>
+				<then>
+					<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>
+				</then>
 			</if>
 
 			<antcall target="sf-list-dir" inheritAll="false">