|
From: Scott M S. <st...@us...> - 2002-11-14 19:35:04
|
User: starksm
Date: 02/11/14 11:35:02
Modified: . Tag: Branch_3_2 build.xml
Log:
Create an archive of the html results and update the location of the
reports web site
Revision Changes Path
No revision
No revision
1.165.2.18 +16 -8 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.165.2.17
retrieving revision 1.165.2.18
diff -u -r1.165.2.17 -r1.165.2.18
--- build.xml 14 Nov 2002 07:39:23 -0000 1.165.2.17
+++ build.xml 14 Nov 2002 19:35:02 -0000 1.165.2.18
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.165.2.17 2002/11/14 07:39:23 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.165.2.18 2002/11/14 19:35:02 starksm Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -40,7 +40,12 @@
| Other targets should depend on 'init' or things will mysteriously fail.
-->
- <target name="init" unless="init.disable" depends="_buildmagic:init">
+ <target name="init" depends="_buildmagic:init">
+ <tstamp>
+ <format property="TIMENOW" pattern="yyyy-MM-dd.HH-mm" timezone="GMT"/>
+ </tstamp>
+ <echo message="${TIMENOW}" file="run.tstamp" />
+ <echo message="Set timestamp to: ${TIMENOW}" />
</target>
@@ -4466,7 +4471,13 @@
<delete dir="${build.reports}"/>
</target>
- <target name="tests-report" depends="tests-report-html, tests-report-text"/>
+ <target name="tests-report" depends="tests-report-html, tests-report-text">
+ <tar tarfile="${module.output}/${TIMENOW}.tgz" compression="gzip" longfile="gnu">
+ <tarfileset dir="${build.reports}/html" prefix="${TIMENOW}">
+ <include name="**"/>
+ </tarfileset>
+ </tar>
+ </target>
<target name="tests-report-html" depends="compile-stylesheets">
<mkdir dir="${build.reports}/html"/>
@@ -4491,10 +4502,6 @@
<target name="tests-report-text" depends="tests-report-html">
<mkdir dir="${build.reports}/text"/>
- <tstamp>
- <format property="TIMENOW" pattern="d MMMM yyyy H:m"/>
- </tstamp>
-
<style basedir="${build.reports}"
destdir="${build.reports}/text"
extension=".txt"
@@ -4512,7 +4519,8 @@
<param name="os_name" expression="${os.name}"/>
<param name="os_arch" expression="${os.arch}"/>
<param name="os_version" expression="${os.version}"/>
- <param name="builduid" expression="${build.uid}"/>
+ <param name="builduid" expression="${TIMENOW}"/>
+ <param name="results_web" expression="http://bliss.jboss.org/~starksm"/>
</style>
</target>
|