You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/08/30 05:03:02 UTC
svn commit: r571023 -
/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Author: smishura
Date: Wed Aug 29 20:03:01 2007
New Revision: 571023
URL: http://svn.apache.org/viewvc?rev=571023&view=rev
Log:
Add 'copy-execution-log' macros
Modified:
harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml?rev=571023&r1=571022&r2=571023&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml Wed Aug 29 20:03:01 2007
@@ -257,8 +257,8 @@
<target name="publish-ehwa">
<mkdir dir="${snapshot.results.dir}/ehwa" />
- <copy file="${cc.execution.log.file}"
- tofile="${snapshot.results.dir}/ehwa/index.html" />
+
+ <copy-execution-log />
<touch-status-file />
<archive-result/>
</target>
@@ -323,8 +323,8 @@
<target name="publish-hdk_by_hdk">
<mkdir dir="${snapshot.results.dir}/hdk_by_hdk" />
- <copy file="${cc.execution.log.file}"
- tofile="${snapshot.results.dir}/hdk_by_hdk/index.html" />
+
+ <copy-execution-log />
<touch-status-file />
<archive-result />
</target>
@@ -332,22 +332,7 @@
<target name="publish-scimark">
<mkdir dir="${snapshot.results.dir}/scimark" />
- <concat destfile="${snapshot.results.dir}/scimark/index.html">
- <header trimleading="yes" filtering="no">
- <html>
- </header>
-
- <fileset file="${results.dir}/scimark/score.txt" />
- <filterchain>
- <tokenfilter>
- <replaceregex pattern="(.*)" replace="\1<br/>" />
- </tokenfilter>
- </filterchain>
-
- <footer trimleading="yes" filtering="no">
- </html>
- </footer>
- </concat>
+ <copy-execution-log />
<touch-status-file />
<archive-result/>
</target>
@@ -374,11 +359,8 @@
<target name="publish-tomcat-scenario">
<mkdir dir="${snapshot.results.dir}/tomcat-scenario" />
- <echo file="${snapshot.results.dir}/tomcat-scenario/index.html">
-<html>
-NO OUTPUT
-</html>
- </echo>
+
+ <copy-execution-log />
<touch-status-file />
<archive-result/>
</target>
@@ -407,6 +389,13 @@
<sequential>
<echo file="${snapshot.results.dir}/${projectname}/status.txt"
message="${build.status}" />
+ </sequential>
+ </macrodef>
+
+ <macrodef name="copy-execution-log">
+ <sequential>
+ <copy file="${cc.execution.log.file}"
+ tofile="${snapshot.results.dir}/${projectname}/index.html" />
</sequential>
</macrodef>