common/build.xml
changeset 196 05a7cfefd85f
parent 193 19a76650e06d
parent 140 5254e26c433d
child 197 e7c76e615b76
--- 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>