common/build.xml
changeset 222 1d9c60a4e308
parent 206 62976b2583f7
child 223 060d04086618
equal deleted inserted replaced
221:3f8d2ea13886 222:1d9c60a4e308
   648       <data expandProperties="yes">
   648       <data expandProperties="yes">
   649         ant: antProperties()
   649         ant: antProperties()
   650         files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]})
   650         files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]})
   651       </data>
   651       </data>
   652     </fmpp>
   652     </fmpp>
       
   653     
       
   654     <echo message="Extracting whatlog information from *whatlog*_compile.log files"/>
       
   655     <for param="logfile">
       
   656       <path>
       
   657         <fileset dir="${build.log.dir}">
       
   658           <include name="*whatlog*_compile.log"/>
       
   659         </fileset>
       
   660       </path>
       
   661       <sequential>
       
   662         <propertyregex override="yes" property="whatlogfile"  input="@{logfile}" regexp=".*[\\|\/].*\.\d+_+(.*)_compile\.log" replace="\1_preprocessed.log"/>
       
   663         <echo message="Preprocessing @{logfile}..."/>
       
   664         <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true">
       
   665           <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>
       
   666           <arg value="--in=@{logfile}"/>
       
   667           <arg value="--out=${build.log.dir}/analysis/${whatlogfile}"/>
       
   668         </exec>
       
   669         <echo message="Extracting whatlog info from ${whatlogfile}..."/>
       
   670         <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true">
       
   671           <arg value="${sf.common.config.dir}/tools/raptor/package_what.pl"/>
       
   672           <arg value="--log=${build.log.dir}/analysis/${whatlogfile}"/>
       
   673           <arg value="--basedir=${build.log.dir}/deliverables"/>
       
   674           <arg value="--append"/>
       
   675         </exec>
       
   676       </sequential>
       
   677     </for>
   653 
   678 
   654     </target>
   679     </target>
   655   
   680   
   656 </project>
   681 </project>
   657 
   682