Catchup from platform build config
authorDario Sestito <darios@symbian.org>
Fri, 12 Jun 2009 11:44:06 +0100
changeset 168 05a7cfefd85f
parent 166 1019b4099c37 (current diff)
parent 167 5254e26c433d (diff)
child 169 e7c76e615b76
Catchup from platform build config
common/build.xml
--- a/common/build.xml	Fri Jun 12 11:39:59 2009 +0100
+++ b/common/build.xml	Fri Jun 12 11:44:06 2009 +0100
@@ -599,6 +599,26 @@
             <arg value="${sf.common.config.dir}/tools/analysis/find_collisions.pl"/>
             <arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/>
         </exec>
+        
+    <echo message="Running yarp over *_compile.log files"/>
+    <for param="logfile">
+      <path>
+        <fileset dir="${build.log.dir}">
+          <include name="*_compile.log"/>
+          <exclude name="*build_check_compile.log"/>
+        </fileset>
+      </path>
+      <sequential>
+        <propertyregex override="yes" property="yarpfile"  input="@{logfile}" regexp=".*[\\|\/](.*)_compile\.log" replace="\1_yarp.csv"/>
+        <echo message="Yarping @{logfile}..."/>
+        <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_yarp.log" append="true">
+          <arg value="${sf.common.config.dir}/tools/analysis/yarp.pl"/>
+          <arg value="@{logfile}"/>
+          <arg value="${build.log.dir}/analysis/${yarpfile}"/>
+        </exec>
+      </sequential>
+    </for>
+
     </target>
   
 </project>