diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/helium/target-sf-run-analysis-yarp.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/helium/target-sf-run-analysis-yarp.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + Target sf-run-analysis-yarp + + + + + + + + + + + + + + + + + +
+Helium API + +
+ + +
+ + + +

Target sf-run-analysis-yarp

+ +

Location

+

D:\maintools\sf-config\common\build.postbuild.xml:379: +

+ +

Conditional execution

+

No conditions on target execution.

+
+ +

Description

+

+

+

+


+ + +

Target external Dependency

+

+ + + + + + + + + + + + + +
Name
cmd
perl
perl
+

+ + +

Property dependencies

+ + +

+ + + + + + + + + + + + + + + + + + + +
NameEdit status
User editable properties
build.driverecommended
Internal properties
build.iddiscouraged
build.log.dirdiscouraged
+

+ +
+ + +

Target dependencies

+

+sf-run-analysis-yarp dependencies + + + + +

+
+ + +

Source code

+
+    <target name="sf-run-analysis-yarp">          
+      <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"/>
+          <propertyregex override="yes" property="yarpfile_short" input="${yarpfile}" regexp="[^_]*_[^_]*_[^_]*_(.+)_[^_]*_yarp\.csv" replace="YARP_\1"/>
+          <echo message="Yarping @{logfile}..."/>
+          <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${yarpfile}.log" append="true">
+            <arg value="${sf.common.config.dir}/tools/analysis/yarp.pl"/>
+            <arg value="@{logfile}"/>
+            <arg value="${build.log.dir}/analysis/${yarpfile}"/>
+          </exec>
+          <exec executable="cmd" output="${build.drive}/output/logs/analysis/tmp_yarp_files.csv" append="true">
+            <arg value="/c"/>
+            <arg value="echo"/>
+            <arg value="${yarpfile_short},${sf.spec.publish.networkdrive}\${sf.spec.job.name}\builds\${sf.spec.job.codeline}\${build.id}\logs\analysis\${yarpfile},${build.drive}\output\logs\analysis\${yarpfile}"/>
+          </exec>
+        </sequential>
+      </for>
+      
+      <exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors">
+        <arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/>
+        <arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/>
+      </exec>
+      <echo message="Total yarp errors: ${sf.job.totalyarperrors}"/>
+    </target>
+
+ + +
+ + + + + + + + + + + + + +
+Helium API + +
+ + + Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html + + + + +