common/templates/run-qmake.ant.xml.ftl
changeset 1025 a370015021c1
parent 1024 70ffcd2e5da9
child 1047 ee03efed9e3c
equal deleted inserted replaced
1024:70ffcd2e5da9 1025:a370015021c1
     5 
     5 
     6 	        <sequential>
     6 	        <sequential>
     7 
     7 
     8 	<#list data["//unit/@bldFile/.."] as unit>
     8 	<#list data["//unit/@bldFile/.."] as unit>
     9           <#if (unit.@bldFile=="/sf/mw/qt/src/s60installs/deviceconfiguration")>
     9           <#if (unit.@bldFile=="/sf/mw/qt/src/s60installs/deviceconfiguration")>
    10                 <echo>INFO: Building qmake for ${unit.@bldFile}</echo>
    10                 <echo>INFO: Building and configuring qmake for ${unit.@bldFile}</echo>
    11                 <if>
    11                 <if>
    12                     <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/>
    12                     <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/>
    13                     <then>
    13                     <then>
    14                         <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false">
    14                         <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false">
    15                             <arg value="/C"/>
    15                             <arg value="/C"/>
    22                     </else>
    22                     </else>
    23                 </if>          
    23                 </if>          
    24 	      </#if>
    24 	      </#if>
    25     </#list>			
    25     </#list>			
    26 			</sequential>
    26 			</sequential>
    27 	
    27 
       
    28 	        <sequential>
       
    29 
       
    30 	<#list data["//unit/@bldFile/.."] as unit>
       
    31           <#if (unit.@bldFile=="/sf/mw/qtextensions/group")>
       
    32                 <echo>INFO: Configuring qtextensions for ${unit.@bldFile}</echo>
       
    33                 <if>
       
    34                     <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/>
       
    35                     <then>
       
    36                         <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false">
       
    37                             <arg value="/C"/>
       
    38                             <arg line="sbs -c tools2 -j 4 --logfile=${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_qtextensions.log"/>
       
    39                         </exec>
       
    40                     </then>
       
    41                     <else>
       
    42                        <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/>
       
    43                     </else>
       
    44                 </if>          
       
    45 	      </#if>
       
    46     </#list>			
       
    47 			</sequential>
       
    48 			
    28             <sequential>
    49             <sequential>
    29     <#list data["//unit/@proFile/.."] as unit>
    50     <#list data["//unit/@proFile/.."] as unit>
    30           <#if (unit.@proFile=="hb.pro")>
    51           <#if (unit.@proFile=="hb.pro")>
    31                 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo>
    52                 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo>
    32                 <if>
    53                 <if>