common/templates/run-qmake.ant.xml.ftl
changeset 1025 a370015021c1
parent 1024 70ffcd2e5da9
child 1047 ee03efed9e3c
--- 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")>