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 @@ + + + + + + +
+ + + + + + + + + +
+
+
|
++Helium API + + | +||||||
+ prev + next | ++ frames + no frames + + + + + + | +
Location
+D:\maintools\sf-config\common\build.postbuild.xml:379: +
+ +Conditional execution
+No conditions on target execution.
++
+ ++
Name | +
---|
cmd | +
perl | +
perl | +
+
Name | Edit status | +
---|---|
User editable properties | +|
build.drive | recommended | +
Internal properties | +|
build.id | discouraged | +
build.log.dir | discouraged | +
+ + +
++ <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 + + | +||||||
+ prev + next | ++ frames + no frames + + + + + + | +