Add explicit qtextensions configuration step
authorShabe Razvi <shaber@symbian.org>
Fri, 07 May 2010 10:14:46 +0100
changeset 1025 a370015021c1
parent 1024 70ffcd2e5da9
child 1027 8f26271e902e
Add explicit qtextensions configuration step
common/templates/run-qmake.ant.xml.ftl
--- a/common/templates/run-qmake.ant.xml.ftl	Fri Apr 30 18:10:26 2010 +0100
+++ b/common/templates/run-qmake.ant.xml.ftl	Fri May 07 10:14:46 2010 +0100
@@ -7,7 +7,7 @@
 
 	<#list data["//unit/@bldFile/.."] as unit>
           <#if (unit.@bldFile=="/sf/mw/qt/src/s60installs/deviceconfiguration")>
-                <echo>INFO: Building qmake for ${unit.@bldFile}</echo>
+                <echo>INFO: Building and configuring qmake for ${unit.@bldFile}</echo>
                 <if>
                     <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/>
                     <then>
@@ -24,7 +24,28 @@
 	      </#if>
     </#list>			
 			</sequential>
-	
+
+	        <sequential>
+
+	<#list data["//unit/@bldFile/.."] as unit>
+          <#if (unit.@bldFile=="/sf/mw/qtextensions/group")>
+                <echo>INFO: Configuring qtextensions for ${unit.@bldFile}</echo>
+                <if>
+                    <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/>
+                    <then>
+                        <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false">
+                            <arg value="/C"/>
+                            <arg line="sbs -c tools2 -j 4 --logfile=${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_qtextensions.log"/>
+                        </exec>
+                    </then>
+                    <else>
+                       <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/>
+                    </else>
+                </if>          
+	      </#if>
+    </#list>			
+			</sequential>
+			
             <sequential>
     <#list data["//unit/@proFile/.."] as unit>
           <#if (unit.@proFile=="hb.pro")>