Add call to parse (preprocessed) raptor logs directly for BRAGG.
authorSimon Howkins <simonh@symbian.org>
Thu, 12 Nov 2009 12:06:34 +0000
changeset 755 cdb4af7acafc
parent 754 79bd241158d3
child 756 736214c0060b
Add call to parse (preprocessed) raptor logs directly for BRAGG.
common/build.postbuild.xml
--- a/common/build.postbuild.xml	Wed Nov 11 14:55:58 2009 +0000
+++ b/common/build.postbuild.xml	Thu Nov 12 12:06:34 2009 +0000
@@ -323,7 +323,8 @@
         </exec>
     </target>
 
-    <target name="sf-run-analysis-raptor">            
+    <target name="sf-run-analysis-raptor">
+      <!-- Process raptor logs to remove non-well-formedness  -->
       <echo message="Preprocessing *_compile.log files"/>
       <delete file="${build.log.dir}/analysis/${build.id}_preprocess.log"/>
       <for param="logfile">
@@ -343,6 +344,13 @@
         </sequential>
       </for>
       
+      <!-- Cook the processed raptor logs to produce something in the right format for the BRAG system -->
+      <mkdir dir="${build.log.dir}/summary/"/>
+      <exec executable="perl" output="${build.log.dir}/summary/sbs_BRAG.xml" logError="yes" failonerror="false">
+        <arg value="${sf.common.config.dir}/tools/brag/sbsToBRAG.pl"/>
+        <arg value="${build.log.dir}/analysis/*_compile_preprocessed.log"/>
+      </exec>
+      
       <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/>
       <for param="whatlogfile">
         <path>