common/build.postbuild.xml
changeset 755 cdb4af7acafc
parent 747 76f9aaeefbab
child 764 d00048f1b036
equal deleted inserted replaced
754:79bd241158d3 755:cdb4af7acafc
   321             <arg value="${sf.common.config.dir}/tools/analysis/scan_antlogs.pl"/>
   321             <arg value="${sf.common.config.dir}/tools/analysis/scan_antlogs.pl"/>
   322             <arg value="*ant*"/>
   322             <arg value="*ant*"/>
   323         </exec>
   323         </exec>
   324     </target>
   324     </target>
   325 
   325 
   326     <target name="sf-run-analysis-raptor">            
   326     <target name="sf-run-analysis-raptor">
       
   327       <!-- Process raptor logs to remove non-well-formedness  -->
   327       <echo message="Preprocessing *_compile.log files"/>
   328       <echo message="Preprocessing *_compile.log files"/>
   328       <delete file="${build.log.dir}/analysis/${build.id}_preprocess.log"/>
   329       <delete file="${build.log.dir}/analysis/${build.id}_preprocess.log"/>
   329       <for param="logfile">
   330       <for param="logfile">
   330         <path>
   331         <path>
   331           <fileset dir="${build.log.dir}">
   332           <fileset dir="${build.log.dir}">
   340             <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>
   341             <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>
   341           </exec>
   342           </exec>
   342 	  <echo file="${build.log.dir}/analysis/${build.id}_preprocess.log" append="true" message="${@{logfile}}${line.separator}"/>
   343 	  <echo file="${build.log.dir}/analysis/${build.id}_preprocess.log" append="true" message="${@{logfile}}${line.separator}"/>
   343         </sequential>
   344         </sequential>
   344       </for>
   345       </for>
       
   346       
       
   347       <!-- Cook the processed raptor logs to produce something in the right format for the BRAG system -->
       
   348       <mkdir dir="${build.log.dir}/summary/"/>
       
   349       <exec executable="perl" output="${build.log.dir}/summary/sbs_BRAG.xml" logError="yes" failonerror="false">
       
   350         <arg value="${sf.common.config.dir}/tools/brag/sbsToBRAG.pl"/>
       
   351         <arg value="${build.log.dir}/analysis/*_compile_preprocessed.log"/>
       
   352       </exec>
   345       
   353       
   346       <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/>
   354       <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/>
   347       <for param="whatlogfile">
   355       <for param="whatlogfile">
   348         <path>
   356         <path>
   349           <fileset dir="${build.log.dir}/analysis">
   357           <fileset dir="${build.log.dir}/analysis">