--- 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>