common/build.xml
changeset 393 8db8dd000e3b
parent 390 3df26b840cc9
child 395 1f4867b1e0c1
equal deleted inserted replaced
392:7efe68a9f0fe 393:8db8dd000e3b
   509         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/unzip_${build.id}_binaries_rnd.log">
   509         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/unzip_${build.id}_binaries_rnd.log">
   510         <arg value="x"/>
   510         <arg value="x"/>
   511         <arg value="-y"/> <!-- Need to unpack in overwrite mode, due to TEF -->
   511         <arg value="-y"/> <!-- Need to unpack in overwrite mode, due to TEF -->
   512         <arg value="${build.drive}/output/zips/bin*.zip"/>
   512         <arg value="${build.drive}/output/zips/bin*.zip"/>
   513         </exec>
   513         </exec>
   514     </target>
   514     </target>    
   515 
       
   516     <target name="sf-find-ATS-worker-root">
       
   517       <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/devices" failonerror="false" outputproperty="sf.spec.test.workerroot">
       
   518         <arg value="-pe"/>
       
   519         <arg value="&quot;m/TEMPDIR=(\S+)/;print $1;s/.*\n//g&quot;"/>
       
   520         <arg value="${env.COMPUTERNAME}\EMULATOR_GENERIC_${env.COMPUTERNAME}.properties" /> 
       
   521       </exec>
       
   522       <echo message="ATS Worker Root = ${sf.spec.test.workerroot}"/> 
       
   523     </target>
       
   524     
       
   525     <target name ="sf-make-junction" depends="sf-find-ATS-worker-root">
       
   526         
       
   527         <mkdir dir="${sf.spec.test.workerroot}/${sf.spec.test.epocroot}"/>
       
   528 
       
   529         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_make_junction.log">
       
   530         <arg value="make_junction.pl"/>
       
   531         <arg value="--link=${sf.spec.test.workerroot}/${sf.spec.test.epocroot}/epoc32"/>
       
   532         <arg value="--target=${build.drive}/epoc32"/>
       
   533         <arg value="--force"/>
       
   534       </exec>
       
   535     </target>
       
   536 
       
   537     <target name ="sf-delete-junction" depends="sf-find-ATS-worker-root">
       
   538         <exec executable="junction.exe" dir="${sf.spec.test.workerroot}/${sf.spec.test.epocroot}" failonerror="false" output="${build.log.dir}/ATS_${build.id}_delete_junction.log">
       
   539         <arg value="-d"/>
       
   540         <arg value="epoc32"/>
       
   541       </exec>
       
   542     </target>  
       
   543         
   515         
   544 </project>
   516 </project>
   545 
   517