Parse log generated during proprocessing of zip config, so it gets included in BRAG analysis.
authorSimon Howkins <simonh@symbian.org>
Tue, 06 Oct 2009 14:41:22 +0100
changeset 603 948baffead3b
parent 602 022273556ac9
child 604 aa36fa431e3d
Parse log generated during proprocessing of zip config, so it gets included in BRAG analysis.
common/build.xml
common/tools/brag/rules.PreprocessPackageConfig.tsv
--- a/common/build.xml	Tue Oct 06 14:02:04 2009 +0100
+++ b/common/build.xml	Tue Oct 06 14:41:22 2009 +0100
@@ -440,6 +440,13 @@
             <arg value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
             <arg value="${build.log.dir}/rnd_excludefile.txt"/>
         </exec>
+        <exec executable="perl" failonerror="false" output="${build.log.dir}/summary/PreprocessPackageConfig_BRAG.xml" logError="true">
+            <arg value="${sf.common.config.dir}/tools/brag/logToBRAG.pl"/>
+            <arg value="--phase=Prebuild"/>
+            <arg value="--step=Preprocess package config"/>
+            <arg value="--rules=${sf.common.config.dir}/tools/brag/rules.PreprocessPackageConfig.tsv"/>
+            <arg value="${build.log.dir}/zipconfig.log"/>
+        </exec>
     </target>
     
     <target name="sf-zip-content" depends="preprocess-zip-config">
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/brag/rules.PreprocessPackageConfig.tsv	Tue Oct 06 14:41:22 2009 +0100
@@ -0,0 +1,1 @@
+^Warning:	minor