Try different approach to qmake
authorBrendan Donegan <brendand@symbian.org>
Mon, 21 Jun 2010 11:55:21 +0100
changeset 1130 d8f6c4df6e0a
parent 1129 0eb638aa8246
child 1131 45ef73fb0f74
Try different approach to qmake
common/build.test.xml
--- a/common/build.test.xml	Thu Jun 17 13:21:25 2010 +0100
+++ b/common/build.test.xml	Mon Jun 21 11:55:21 2010 +0100
@@ -142,11 +142,17 @@
 	
 	<target name="sf-build-smoketestpkg" depends="sf-getenv-tools">
         <echo message="INFO Building smoketest"/>
-		
-		<antcall target="run-qmake" inheritAll="false" inheritRefs="true">
-			<param name="qmake.enabled" value="true"/>
-			<param name="sysdef.configuration" value="${build.drive}\interim\sf-test\platform\smoketest\package_definition.xml"/>
-		</antcall>
+         <fmpp sourceFile="${qt.qmake.ant.template}" outputFile="${temp.build.dir}/run-qmake-test.ant.xml">
+            <data expandProperties="yes">
+                data: xml(${build.drive}/interim/sf-test/platform/smoketest/package_definition.xml)
+                ant: antProperties()
+
+            </data>
+        </fmpp>
+		<hlm:assertFileExists xmlns:hlm="http://www.nokia.com/helium" file="${temp.build.dir}/run-qmake-test.ant.xml"/>
+
+		<!-- Running the qmake steps -->
+        <ant antfile="${temp.build.dir}/run-qmake-test.ant.xml" dir="${build.drive}/" output="${compile.log.dir}/${build.id}_test.qmake.log"/>
 		
         <exec executable="cmd" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
             <arg value="/c"/>