Try different approach to qmake
authorBrendan Donegan <brendand@symbian.org>
Mon, 21 Jun 2010 11:55:21 +0100
changeset 1098 b698b6eb9e88
parent 1097 cb4c228f2484
child 1099 b9c9403415f0
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"/>