common/templates/run-qmake.ant.xml.ftl
changeset 1024 70ffcd2e5da9
parent 1023 ebfa9f019473
child 1025 a370015021c1
equal deleted inserted replaced
1023:ebfa9f019473 1024:70ffcd2e5da9
     4     <target name="all">
     4     <target name="all">
     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=="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 qmake for ${unit.@bldFile}</echo>
    11                 <if>
    11                 <if>
    12                     <available file="${r'$'}{build.drive}/sf/${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}/sf/${unit.@bldFile}" failonerror="false">
    14                         <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false">
    15                             <arg value="/C"/>
    15                             <arg value="/C"/>
    16                             <arg line="sbs -c tools2 -j 4 --logfile=${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_qmake.log"/>
    16                             <arg line="sbs -c tools2 -j 4 --logfile=${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_qmake.log"/>
    17                         </exec>
    17                         </exec>
    18                     </then>
    18                     </then>
    19                     <else>
    19                     <else>
    20                        <echo message="ERROR: Directory ${r'$'}{build.drive}/sf/${unit.@bldFile} doesn't exist."/>
    20                        <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/>
    21                        <fail message="Unit mw/qt/src/s60installs/deviceconfiguration is in the model, but not present on disk. Cannot build qmake!"/>
    21                        <fail message="Unit /sf/mw/qt/src/s60installs/deviceconfiguration is in the model, but not present on disk. Cannot build qmake!"/>
    22                     </else>
    22                     </else>
    23                 </if>          
    23                 </if>          
    24 	      </#if>
    24 	      </#if>
    25     </#list>			
    25     </#list>			
    26 			</sequential>
    26 			</sequential>