common/build.xml
changeset 223 060d04086618
parent 216 36d82a2f1f92
parent 222 1d9c60a4e308
child 224 a237fdfca8c5
equal deleted inserted replaced
219:bb8b41925df4 223:060d04086618
   753       <data expandProperties="yes">
   753       <data expandProperties="yes">
   754         ant: antProperties()
   754         ant: antProperties()
   755         files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]})
   755         files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]})
   756       </data>
   756       </data>
   757     </fmpp>
   757     </fmpp>
       
   758     
       
   759     <echo message="Extracting whatlog information from *whatlog*_compile.log files"/>
       
   760     <for param="logfile">
       
   761       <path>
       
   762         <fileset dir="${build.log.dir}">
       
   763           <include name="*whatlog*_compile.log"/>
       
   764         </fileset>
       
   765       </path>
       
   766       <sequential>
       
   767         <propertyregex override="yes" property="whatlogfile"  input="@{logfile}" regexp=".*[\\|\/].*\.\d+_+(.*)_compile\.log" replace="\1_preprocessed.log"/>
       
   768         <echo message="Preprocessing @{logfile}..."/>
       
   769         <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true">
       
   770           <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>
       
   771           <arg value="--in=@{logfile}"/>
       
   772           <arg value="--out=${build.log.dir}/analysis/${whatlogfile}"/>
       
   773         </exec>
       
   774         <echo message="Extracting whatlog info from ${whatlogfile}..."/>
       
   775         <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true">
       
   776           <arg value="${sf.common.config.dir}/tools/raptor/package_what.pl"/>
       
   777           <arg value="--log=${build.log.dir}/analysis/${whatlogfile}"/>
       
   778           <arg value="--basedir=${build.log.dir}/deliverables"/>
       
   779           <arg value="--append"/>
       
   780         </exec>
       
   781       </sequential>
       
   782     </for>
   758 
   783 
   759     </target>
   784     </target>
   760   
   785   
   761     <target name="sf-run-evalid">
   786     <target name="sf-run-evalid">
   762         <delete dir="${build.drive}/output/md5"/>
   787         <delete dir="${build.drive}/output/md5"/>