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/04/24 07:57:14 UTC

svn commit: r531775 - in /harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative: ./ HUT_iterative/ cc/ cc/xsl/

Author: smishura
Date: Mon Apr 23 22:57:11 2007
New Revision: 531775

URL: http://svn.apache.org/viewvc?view=rev&rev=531775
Log:
Apply patch from HARMONY-3629:
([testing] Iterative runs of Classlibrary unit tests under BT2.0)

Added:
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/modulesList
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/README_HUT_iterative.txt   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/adaptor.xml   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/HUT_iterative-project.xml   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/publisher.xml   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/br.xsl   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/errors.xsl   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/header.xsl   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/modifications.xsl   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/unittests.xsl   (with props)
    harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/parameters.xml   (with props)

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat Mon Apr 23 22:57:11 2007
@@ -0,0 +1,81 @@
+@echo off
+
+set JRE=%1 
+set VMNAME=%2 
+set FORKMODE=%3 
+set CLASSLIB=%4 
+set ITER=%5 
+set EXCLUDE=swing
+
+echo TESTEDVM  %JRE%
+echo VMNAME  %VMNAME% 
+echo FORKMODE  %FORKMODE%
+echo CLASSLIB %CLASSLIB%
+echo ITER  %ITER%
+echo EXCLUDE %EXCLUDE%
+
+copy modulesList %CLASSLIB%
+
+cd %CLASSLIB%
+
+set ANT_COMMAND=%ANT_HOME%\bin\ant.bat
+set start=1
+set step=1
+
+for /F %%i in (modulesList) do (
+
+	if not %%i==%EXCLUDE% ( 
+
+ 	for /L %%A in (%start%,%step%,%ITER%) do (
+
+ 		echo %%i
+
+call %ANT_COMMAND% -Dtest.jre.home=%JRE% -Dhy.test.vm.name=%VMNAME% -Dbuild.module=%%i -Dhy.test.forkmode=%FORKMODE% test > log_%%i_%%A.txt 2>&1
+
+		type log_%%i_%%A.txt
+		
+		findstr /c:"BUILD FAILED" log_%%i_%%A.txt > FF
+
+		for /F "tokens=*" %%j in (FF) do (
+
+			echo RESULT %%j		
+			
+			if "%%j" == "BUILD FAILED" (
+			
+  				move build\test_report build\test_report_%%i_%%A
+				echo module %%i iteration %%A failed >> build/STATUS.txt
+
+			) 
+		)
+
+		findstr /c:"BUILD SUCCESSFUL" log_%%i_%%A.txt > FF
+
+		for /F "tokens=*" %%j in (FF) do (
+
+			echo RESULT %%j		
+			
+			if "%%j" == "BUILD SUCCESSFUL" (
+				echo module %%i iteration %%A passed >> build/STATUS.txt
+			) 
+		)
+							
+ 	)
+
+        )
+)
+
+cd build
+
+rem find errors
+
+findstr /RS "errors=\"[1-9]\" " *Test.xml >> ERRORS.txt
+
+rem find failures
+
+findstr /RS "failures=\"[1-9]*\"" *Test.xml >> FAILURES.txt
+
+rem find crash candidates
+
+dir /O /S | find "Test.xml" | find "     0 TEST" >> CRASHES.txt
+
+exit 0

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.bat
------------------------------------------------------------------------------
    svn:executable = *

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh Mon Apr 23 22:57:11 2007
@@ -0,0 +1,69 @@
+#!/bin/sh
+#CLASSLIB=C:/Harmony-contribution/Harmony_svn/classlib
+# get the list of all modules
+
+#ls -la | awk '{print ($9)}' | grep -v "\." > modulesList
+
+JRE=$1 
+VMNAME=$2 
+FORKMODE=$3 
+CLASSLIB=$4 
+ITER=$5 
+
+echo TESTEDVM  ${JRE}
+echo VMNAME  ${VMNAME} 
+echo FORKMODE  ${FORKMODE}
+echo CLASSLIB ${CLASSLIB}
+echo ITER  ${ITER}
+
+cp modulesList ${CLASSLIB}
+
+cd ${CLASSLIB}
+
+#STAMP=`date +%Y%m%d%H%M%S`
+
+cat modulesList | while read moduleName; do
+
+	A=0
+	while [ "$A" -lt `expr ${ITER}` ]; do
+
+	echo ITERATION $A 
+
+
+	ant -Dtest.jre.home=${JRE} -Dhy.test.vm.name=${VMNAME}\
+		-Dbuild.module=$moduleName -Dhy.test.forkmode=${FORKMODE} \
+		test 2>&1 | tee log_${moduleName}_${A}.txt
+
+	R=`grep "BUILD FAILED" log_${moduleName}_${A}.txt | wc -l` 
+		        
+	if [ "$R" = 0 ]; then 
+	
+	    echo module ${moduleName} iteration ${A} passed >> build/STATUS.txt 
+	else 
+								        
+	    mv build/test_report build/test_report_${moduleName}_${A} 
+	    echo module ${moduleName} iteration ${A} failed >> build/STATUS.txt 
+	fi 													       
+
+	A=`expr $A + 1`
+
+	done
+
+done
+
+cd build
+
+# find errors
+
+find test_report_* -name *Test.xml -exec grep -l "<testsuite errors=\"[1-9]*\" " {} \; > ERRORS.txt
+
+# find failures
+
+find test_report_* -name *Test.xml -exec grep -l "failures=\"[1-9]*\"" {} \; > FAILURES.txt
+
+# find crash candidates
+
+find test_report_* -type f -size 0 | grep *.xml > ZERO_LENGTH.txt
+
+exit 0
+

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/HUT_iterative_run.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/modulesList
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/modulesList?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/modulesList (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/HUT_iterative/modulesList Mon Apr 23 22:57:11 2007
@@ -0,0 +1,25 @@
+accessibility
+archive
+auth
+awt
+beans
+crypto
+instrument
+jndi
+lang-management
+logging
+luni
+math
+nio
+nio_char
+prefs
+print
+regex
+rmi
+security
+sound
+sql
+swing
+text
+tools
+x-net

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/README_HUT_iterative.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/README_HUT_iterative.txt?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/README_HUT_iterative.txt (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/README_HUT_iterative.txt Mon Apr 23 22:57:11 2007
@@ -0,0 +1,96 @@
+                 =======================================================    
+                 Iterative runs of class library unit tests under BT 2.0
+                 =======================================================    
+
+---------------
+Archive Content
+---------------
+
+This archive contains adaptor and custom configuration for iterative runs of classlib 
+unit tests (HUT) under BT 2.0
+
+ +/
+  |-+adaptors/             		- Adaptors connecting test suites to Build Test
+  |  |
+  |  |-+HUT_iterative/       		- HUT iterative runs adaptor directory
+  |     |
+  |     |--adaptor.xml     		- The adaptor
+  |     |
+  |     |--parameters.xml  		- Parameters file
+  |     |
+  |     |-+cc		   		- Cruise Control custom configurtion directory	
+  |        |
+  |        |--HUT_iterative-project.xml   - Cruise Control configuration file
+  |	   |
+  |	   |--publisher.xml		- HUT iterative runs publisher
+  |        |
+  |        |-+xsl			- xslt files
+  |     |
+  |     |-+HUT_iterative		- scripts to iteratively run HUT
+  |        |
+  |        |--HUT_iterative_run.bat
+  |        |
+  |        |--HUT_iteartive_run.sh
+  |        |
+  |        |--modulesList		- the list of classlib modules to run tests for
+  |
+  |-README_HUT_iterative.txt		- Readme File
+
+
+
+------------------------------------------------
+Integration of HUT iterative runs under BT 2.0
+------------------------------------------------
+
+1. Follow general instructions of README.txt for BT 2.0 (pre-intagration or 
+
+   post-integration usage).
+
+2. unzip BT-HUT_iteartive.zip into BT infra directory.
+
+4. Perform setup:
+
+   ant -Dtest.suites="classlib,drlvm" setup
+
+   There is no special setup for iteartive runs of classlib tests, as well as
+
+   there is no special place for HUT_iterative test suite.
+
+4. Set values of <BT infra>/scripts/local.properties.template in generated file:
+
+     framework.local.properties
+
+5. Run the HUT iteartively on previously built JRE:
+
+     ant -Dtest.suites="classlib,drlvm,HUT_iteartive" run
+
+6. Run the suite under Cruise Control: 
+
+     ant -Dtest.suites="classlib,drlvm,HUT_iterative" run-cc    
+
+
+7. Iterative test run results are accumulated 
+
+   in ${classlib.trunk}/build/test_report_${moduleName}_${iteration} directories. 
+
+   After test cycle is completed, the results are merged and e-mailed 
+
+   to the address predefined in framework.local.properties file, if any.
+
+   The FAILURES, ERRORS, CRASHES statistics are attached. 
+
+   Zip file with test reports, logs and statistics is available:
+
+   ${classlib.trunk}/results_${VMNAME}_<timestamp>.zip 
+
+   The zip archives can be removed:
+
+   ant -Dtest.suites="HUT_iterative" clean
+
+     
+
+----------
+Disclaimer
+----------
+
+*) Other brands and names are the property of their respective owners.

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/README_HUT_iterative.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/adaptor.xml?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/adaptor.xml (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/adaptor.xml Mon Apr 23 22:57:11 2007
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<!-- ====================================================================== 
+                    BT Adaptor for Harmony Classlib Project
+     ====================================================================== -->
+<project name="iterative_classlib" default="run" basedir=".">
+
+    <!-- do setup of the classlib workspace -->
+    <target name="setup">
+        <!--description>
+            setup:     already done in classlib project (suite)
+                Do checkout of the classlib's trunk to the place pointed
+                    by 'checkouts.dir' property.
+                Do setup of the suite (tune parameters)
+        </description-->
+
+        <!-- Note: Properties 
+                ${trunk.dir} pointing to the classlib workspace
+             and
+                ${svn.url}" pointing to the svn url
+             are defined as 'shared' in parameters.xml 
+        -->
+
+        <!-- mkdir for sources should be made by adaptor -->
+        <!--mkdir dir="${trunk.dir}"/-->
+
+        <!-- do checkout of the workspace -->
+        <!--exec executable="svn" dir="${trunk.dir}" failonerror="true">
+            <arg line="co ${svn.url}"/>
+            <arg line="${trunk.dir}"/>
+        </exec-->
+    </target>
+    
+    <condition property="cmd" value="cmd" else="sh">
+        <os family="windows"/>
+    </condition>
+
+    <condition property="prefix" value="/c" else="">
+        <os family="windows"/>
+    </condition>
+
+    <condition property="suffix" value=".bat" else=".sh">
+        <os family="windows"/>
+    </condition>
+	
+    <condition property="fs" value="\\" else="/">
+        <os family="windows"/>
+    </condition>
+
+    <target name="run">
+
+<!--echo message="Running HUT iteratively"/>
+
+<echo message="cmd is ${cmd}"/>
+<echo message="prefix is ${prefix}"/>
+<echo message="suffix is ${suffix}"/>
+<echo message="path.jre is ${path.jre}"/>
+<echo message="vmname is ${vmname}"/>
+<echo message="forkmode is ${forkmode}"/>
+<echo message="classlib.trunk is ${classlib.trunk}"/>
+<echo message="repetitions.number is ${repetitions.number}"/>
+<echo message="==== line is ===== ${prefix} ${root.dir}${fs}adaptors${fs}${suite.name}${fs}${suite.name}${fs}HUT_iterative_run${suffix} ${path.jre} ${vmname} ${forkmode} ${classlib.trunk} ${repetions.number}"/--> 
+
+
+	<copy file="${suite.name}${fs}modulesList" todir="${classlib.trunk}" overwrite="true"/>
+
+	<exec executable="${cmd}" dir="${classlib.trunk}" failonerror="false" timeout="${HUT_iterative.parameters.optional.timeout}">
+		<arg line="${prefix} ${root.dir}${fs}adaptors${fs}${suite.name}${fs}${suite.name}${fs}HUT_iterative_run${suffix} ${path.jre} ${vmname} ${forkmode} ${classlib.trunk} ${repetitions.number}"/>
+        </exec>		
+    </target>
+
+    <target name="clean">
+        <description>
+            to do clean - remove zip archives of previous iterative runs
+        </description>
+		<delete>
+    			<fileset dir="${classlib.trunk}" includes="results_*.zip"/>
+		</delete>
+
+    </target>
+
+</project>
+

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/adaptor.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/HUT_iterative-project.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/HUT_iterative-project.xml?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/HUT_iterative-project.xml (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/HUT_iterative-project.xml Mon Apr 23 22:57:11 2007
@@ -0,0 +1,69 @@
+<cruisecontrol>
+
+    <!-- Keep this tag if you want to see any parameter value accessible 
+         from adaptor.xml here -->
+    <!-- @BT.PARAMETERS.INCLUDE@ -->
+    
+    <!-- Tag resolved to the name of 
+         the test suite this config is related to. -->
+    <project name="@BT.PROJECT@">
+
+        <listeners>
+            <!-- Resolved to <currentbuildstatuslistener file="${logs.dir}/...">
+                 Should be here if there are any suites depending
+                 on run status of this suite -->
+            <!-- @BT.LISTENER@ -->
+	    <currentbuildstatuslistener file="logs/${project.name}/status.txt"/> 
+        </listeners>
+
+        <bootstrappers>
+            <!-- Resolved to 
+                    <svnbootstrapper> 
+                 if we use SVN for sources, i.e. 
+                    ${project.name}.parameters.cc.usesvn="${sources.location}"
+                 is set -->
+            <!-- @BT.BOOTSTRAPPER@ -->
+        </bootstrappers>
+
+        <modificationset quietperiod="${HUT_iterative.parameters.optional.quiteperiod}">
+            <!-- Tag Resolution Rules: 
+                - in case of defined SVN (@{suite.name}.parameters.cc.usesvn),
+                  resolved to
+                    <svn LocalWorkingCopy="${path.to.local.svn.repository}"/>
+                - in case of defined trigger (@{suite.name}.parameters.cc.trigger),
+                  resolved to
+                    <filesystem folder="${path.to.trigger.file}"
+                - for any dependency it is resolved to
+                    <buildstatus logdir='${path.to.log.for.some.suite}'/>
+                  if the dependency uses svn, it is aslo resolved to
+                    <svn localWorkingCopy=../>
+                - in any case it is additionally resolved to
+                    <forceonly/>
+            -->
+            <!-- @BT.MODIFICATIONSET@ -->
+	    <!--svn localWorkingCopy="${classlib.parameters.shared.trunk.dir}"/>
+	    <svn localWorkingCopy="${drlvm.parameters.shared.trunk.dir}"/-->
+	    <!--buildstatus logdir="logs/classlib"/> 
+	    <buildstatus logdir="logs/drlvm"/--> 
+							   
+        </modificationset>
+
+        <schedule interval="${HUT_iterative.parameters.optional.interval}">
+            <!-- This tag MUST be present!
+                 It makes correct call to adaptor's run target -->
+            <!-- @BT.ADAPTORCALL@ -->
+        </schedule>
+	
+	<log dir="logs/${project.name}"> 
+            <merge dir="${classlib.trunk}/build" pattern="TEST-*.xml" />
+	</log> 
+
+	<publishers>
+	    <!-- Keep it if you want to use custom ant publishers
+		specified for test suite by cc.publisher parameter -->
+	    <!-- @BT.PUBLISHER@ -->
+
+	</publishers> 
+																																										   																																																																							   
+    </project>
+</cruisecontrol>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/HUT_iterative-project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/publisher.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/publisher.xml?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/publisher.xml (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/publisher.xml Mon Apr 23 22:57:11 2007
@@ -0,0 +1,91 @@
+<!-- 
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+
+Expected properties:
+    CC specific properties: 
+        XmlLogger.file=log.xml
+        logfile=log20070329201714.xml
+        thisbuildsuccessful=false
+        lastbuild=20070329000000
+        label=build.1
+        logdir=C:\ws\BUILDTEST.new\.07\build\cc\logs\vtsvm
+        lastbuildsuccessful=false
+        builddate=03/29/2007 20:17:14"
+        interval=1
+        lastsuccessfulbuild=20070329000000
+        projectname=vtsvm
+        cctimestamp=20070329201714 
+
+    Framework's properties 
+        publisher.dir
+        + global frameworks properties
+          (described at scripts/framework.properties and at the head of build.xml file)
+        + parameters (for these test suite + for other selected suites)
+-->
+
+<project name="HUT_iterative-publisher" default="publish" basedir=".">
+
+    <target name="publish" >
+
+        <xslt basedir="${publisher.dir}/xsl"
+	    destdir="${publisher.dir}"
+	    in="${logdir}/${logfile}" out="notification.txt"
+	    style="${publisher.dir}/xsl/br.xsl"
+	    classpath="${ext.cc.location}/lib/serializer-2.7.0.jar;${ext.xalan.location}"/>	    
+        <if> 
+	    <and>
+		<isset property="framework.parameters.usemail"/>
+	<!--should send notifications only if the status of the run changed-->
+		<not>
+		    <equals arg1="${thisbuildsuccessful}" arg2="${lastbuildsuccessful}"/>
+		</not>
+	    </and>
+	<then>
+	    <echo message="Will send mail to: ${framework.parameters.usemail}"/>
+
+    	    <condition property="HUT_iterative.status" value="SUCCESSFULLY run" else="FAILED">
+		<istrue value="${thisbuildsuccessful}"/>
+	    </condition>
+	    <property name="build" value="${os.name} ${os.version} ${os.arch}"/>
+
+	    <echo message="DETAILES are ${build}"/>
+    
+    	    <mail 
+		mailhost="${framework.parameters.usemail}"
+		tolist="${framework.parameters.usemail.to}"
+		from="${framework.parameters.usemail.from}"
+		subject="HUT iterative ${repetitions.number} runs ${HUT_iterative.status} on ${classlib.trunk} over ${drlvm.parameters.shared.jvm.location}, ${build}"
+        	messagefile="notification.txt">
+		<fileset dir="${classlib.trunk}/build" includes="FAILURES.txt, ERRORS.txt, CRASHES.txt, STATUS.txt" />
+
+	    </mail>
+    	    </then> 
+        </if> 
+
+	<tstamp>
+		<format property="timestamp" pattern="yyyyMMddhhmm" />
+	</tstamp>
+
+	<zip destfile="${classlib.trunk}/results_${HUT_iterative.parameters.required.vmname}_${timestamp}.zip" >
+	    <zipfileset dir="${classlib.trunk}/build" includes="test_report_*/**/*" /> 
+	    <zipfileset dir="${classlib.trunk}/build" includes="FAILURES.txt, ERRORS.txt, CRASHES.txt, STATUS.txt" prefix="result" />
+	    <zipfileset dir="${classlib.trunk}" includes="log_*.txt" prefix="logs" /> 
+        </zip>
+
+    </target> 
+													       
+</project>
+

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/publisher.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/br.xsl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/br.xsl?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/br.xsl (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/br.xsl Mon Apr 23 22:57:11 2007
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 500
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *     + Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *
+ *     + Redistributions in binary form must reproduce the above
+ *       copyright notice, this list of conditions and the following
+ *       disclaimer in the documentation and/or other materials provided
+ *       with the distribution.
+ *
+ *     + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ *       names of its contributors may be used to endorse or promote
+ *       products derived from this software without specific prior
+ *       written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<!-- 
+    Copyright 2006-2007 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:import href="header.xsl"/>
+  <xsl:import href="errors.xsl"/>
+  <xsl:import href="unittests.xsl"/>
+  <xsl:import href="modifications.xsl"/>
+
+  <xsl:output method="text"/>
+
+  <xsl:variable name="cruisecontrol.list" select="."/>
+
+  <xsl:template match="/">
+    <p><xsl:apply-templates select="$cruisecontrol.list" mode="header"/></p>
+    <p><xsl:apply-templates select="$cruisecontrol.list" mode="errors"/></p>
+    <p><xsl:apply-templates select="$cruisecontrol.list" mode="unittests"/></p>
+    <p><xsl:apply-templates select="$cruisecontrol.list" mode="modifications"/></p>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/br.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/errors.xsl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/errors.xsl?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/errors.xsl (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/errors.xsl Mon Apr 23 22:57:11 2007
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *     + Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *
+ *     + Redistributions in binary form must reproduce the above
+ *       copyright notice, this list of conditions and the following
+ *       disclaimer in the documentation and/or other materials provided
+ *       with the distribution.
+ *
+ *     + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ *       names of its contributors may be used to endorse or promote
+ *       products derived from this software without specific prior
+ *       written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<!-- 
+    Copyright 2006-2007 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+-->
+<xsl:stylesheet
+    version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns="http://www.w3.org/TR/html4/strict.dtd" >
+
+    <xsl:output method="text"/>
+
+    <xsl:variable name="tasklist" select="/cruisecontrol/build//target/task"/>
+
+    <xsl:template match="/" mode="errors">
+
+        <xsl:variable name="error.messages" select="$tasklist/message[@priority='error']"/>
+        <xsl:variable name="warn.messages" select="$tasklist/message[@priority='warn']"/>
+        <xsl:variable name="total.errorMessage.count" select="count($warn.messages) + count($error.messages)"/>
+
+        <xsl:if test="$total.errorMessage.count > 0">
+            <xsl:text>&#10;***********************************************************&#10;</xsl:text>
+            <xsl:text>Errors/Warnings:	</xsl:text>(<xsl:value-of select="$total.errorMessage.count"/>)
+            <xsl:text>&#10;</xsl:text>
+                
+            <xsl:if test="count($error.messages) > 0">
+                <xsl:apply-templates select="$error.messages" mode="errors"/>
+            </xsl:if>
+        </xsl:if>
+
+    </xsl:template>
+
+    <xsl:template match="message[@priority='error']" mode="errors">
+        <xsl:if test="count(./../message[@priority='error']) != position()">
+            <xsl:value-of select="text()"/>
+            <xsl:text>&#10;</xsl:text>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template match="message[@priority='warn']" mode="errors">
+        <xsl:if test="not(starts-with(text(),'cvs update'))">
+            <xsl:value-of select="text()"/>
+            <xsl:text>&#10;</xsl:text>
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template match="/">
+        <xsl:apply-templates select="." mode="errors"/>
+    </xsl:template>
+</xsl:stylesheet>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/errors.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/header.xsl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/header.xsl?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/header.xsl (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/header.xsl Mon Apr 23 22:57:11 2007
@@ -0,0 +1,105 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *     + Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *
+ *     + Redistributions in binary form must reproduce the above
+ *       copyright notice, this list of conditions and the following
+ *       disclaimer in the documentation and/or other materials provided
+ *       with the distribution.
+ *
+ *     + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ *       names of its contributors may be used to endorse or promote
+ *       products derived from this software without specific prior
+ *       written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<!-- 
+    Copyright 2006-2007 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+-->
+<xsl:stylesheet
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+    xmlns:lxslt="http://xml.apache.org/xslt">
+
+    <xsl:output method="text"/>
+
+    <xsl:template match="/" mode="header">
+        <xsl:variable name="modification.list" select="cruisecontrol/modifications/modification"/>
+
+            <xsl:if test="cruisecontrol/build/@error">
+                <xsl:text>BUILD FAILED:&#10;	Ant Error Message:&#10;</xsl:text>
+                <xsl:value-of select="cruisecontrol/build/@error"/>
+		<xsl:text>&#10;</xsl:text>
+            </xsl:if>
+
+            <xsl:if test="not (cruisecontrol/build/@error)">
+                <xsl:text>BUILD COMPLETE:	</xsl:text>
+                    <xsl:value-of select="cruisecontrol/info/property[@name='label']/@value"/>
+                <xsl:text>&#10;</xsl:text>
+            </xsl:if>
+
+            <xsl:text>&#10;</xsl:text>
+            <xsl:text>Date of build:	</xsl:text>
+            <xsl:value-of select="cruisecontrol/info/property[@name='builddate']/@value"/>
+            <xsl:text>&#10;</xsl:text>
+
+            <xsl:text>Time to build:	</xsl:text>
+            <xsl:value-of select="cruisecontrol/build/@time"/>
+            <xsl:text>&#10;</xsl:text>
+
+            <xsl:apply-templates select="$modification.list" mode="header">
+                <xsl:sort select="date" order="descending" data-type="text" />
+            </xsl:apply-templates>
+    </xsl:template>
+
+    <!-- Last Modification template -->
+    <xsl:template match="modification" mode="header">
+        <xsl:if test="position() = 1">
+            <xsl:text>Last changed:	</xsl:text>
+            <xsl:value-of select="date"/>
+            <xsl:text>&#10;</xsl:text>
+
+            <xsl:text>Last log entry:	</xsl:text>
+            <xsl:value-of select="comment"/>
+            <xsl:text>&#10;</xsl:text>
+
+        </xsl:if>
+    </xsl:template>
+
+    <xsl:template match="/">
+        <xsl:apply-templates select="." mode="header"/>
+    </xsl:template>
+</xsl:stylesheet>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/header.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/modifications.xsl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/modifications.xsl?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/modifications.xsl (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/modifications.xsl Mon Apr 23 22:57:11 2007
@@ -0,0 +1,400 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *     + Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *
+ *     + Redistributions in binary form must reproduce the above
+ *       copyright notice, this list of conditions and the following
+ *       disclaimer in the documentation and/or other materials provided
+ *       with the distribution.
+ *
+ *     + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ *       names of its contributors may be used to endorse or promote
+ *       products derived from this software without specific prior
+ *       written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<!-- 
+    Copyright 2006-2007 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+-->
+<xsl:stylesheet
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+    <xsl:output method="text"/>
+    <xsl:variable name="modification.list" select="cruisecontrol/modifications/modification"/>
+    <xsl:variable name="urlroot" select='"/cruisecontrol/buildresults/"'/>
+
+
+    <xsl:template match="/" mode="modifications">
+            <!-- Modifications -->
+            <xsl:text>&#10;***********************************************************&#10;</xsl:text>
+            <xsl:text>Modifications since last successful build:	</xsl:text>(<xsl:value-of select="count($modification.list)"/>)
+            <xsl:text>&#10;</xsl:text>
+
+            <xsl:apply-templates select="$modification.list" mode="modifications">
+                <xsl:sort select="date" order="descending" data-type="text" />
+            </xsl:apply-templates>
+
+    </xsl:template>
+
+    <!-- user defined variables for logging into ClearQuest -->
+    <xsl:variable name="cqserver">localhost</xsl:variable>
+    <xsl:variable name="cqschema">2003.06.00</xsl:variable>
+    <xsl:variable name="cqdb">RBPRO</xsl:variable>
+    <xsl:variable name="cqlogin">admin</xsl:variable>
+    <xsl:variable name="cqpasswd">password</xsl:variable>
+
+    <xsl:template match="modification[@type='activity']" mode="modifications">
+        <xsl:variable name="cqrecurl">http://<xsl:value-of select="$cqserver"/>/cqweb/main?command=GenerateMainFrame&amp;service=CQ&amp;schema=<xsl:value-of select="$cqschema"/>&amp;contextid=<xsl:value-of select="$cqdb"/>&amp;entityID=<xsl:value-of select="revision"/>&amp;entityDefName=<xsl:value-of select="crmtype"/>&amp;username=<xsl:value-of select="$cqlogin"/>&amp;password=<xsl:value-of select="$cqpasswd"/></xsl:variable>
+            <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+            <xsl:text> </xsl:text>
+	    <a href="{$cqrecurl}" target="_blank"><xsl:value-of select="revision"/></a>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="crmtype"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="user"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="comment"/>
+            <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+    <xsl:template match="modification[@type='contributor']" mode="modifications">
+        <xsl:variable name="cqrecurl">http://<xsl:value-of select="$cqserver"/>/cqweb/main?command=GenerateMainFrame&amp;service=CQ&amp;schema=<xsl:value-of select="$cqschema"/>&amp;contextid=<xsl:value-of select="$cqdb"/>&amp;entityID=<xsl:value-of select="revision"/>&amp;entityDefName=<xsl:value-of select="crmtype"/>&amp;username=<xsl:value-of select="$cqlogin"/>&amp;password=<xsl:value-of select="$cqpasswd"/></xsl:variable>
+            <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+		<a href="{$cqrecurl}" target="_blank"><xsl:value-of select="revision"/></a>
+            <xsl:text> </xsl:text>
+                <xsl:value-of select="crmtype"/>
+            <xsl:text> </xsl:text>
+                <xsl:value-of select="user"/>
+            <xsl:text> </xsl:text>
+                <xsl:value-of select="comment"/>
+            <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+
+    <xsl:template match="modification[@type='p4']" mode="modifications">
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+            </xsl:if>
+            <xsl:value-of select="revision"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="user"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="client"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="date"/>
+            <xsl:text> </xsl:text>
+            <xsl:variable name="convertedComment">
+                <xsl:call-template name="newlineToHTML">
+                    <xsl:with-param name="line">
+                        <xsl:value-of select="comment"/>
+                    </xsl:with-param>
+                </xsl:call-template>
+            </xsl:variable>
+
+            <xsl:copy-of select="$convertedComment"/>
+            <xsl:text>&#10;</xsl:text>
+
+        <xsl:if test="count(file) > 0">
+                <xsl:if test="position() mod 2=0">
+                    <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+                </xsl:if>
+
+                <xsl:if test="position() mod 2!=0">
+                    <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+                </xsl:if>
+
+                <xsl:text>Files affected by this changelist: </xsl:text>
+                (<xsl:value-of select="count(file)"/>)
+                <xsl:text>&#10;</xsl:text>
+                <xsl:apply-templates select="file" mode="modifications"/>
+        </xsl:if>
+    </xsl:template>
+
+    <!-- used by P4 -->
+    <xsl:template match="file" mode="modifications">
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">changelists-file-oddrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">changelists-file-evenrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:value-of select="@action"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="filename"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="revision"/>
+            <xsl:text> </xsl:text>
+    </xsl:template>
+
+    <!-- Modifications template for other SourceControls -->
+    <xsl:template match="modification[file][@type!='p4']" mode="modifications">
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">modifications-oddrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">modifications-evenrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:value-of select="file/@action"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="user"/>
+            <xsl:text> </xsl:text>
+            <xsl:if test="file/project">
+                <xsl:value-of select="file/project"/>
+                <xsl:value-of select="'/'"/>
+            </xsl:if>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="file/filename"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="date"/>
+            <xsl:text> </xsl:text>
+            <xsl:variable name="convertedComment">
+                <xsl:call-template name="newlineToHTML">
+                    <xsl:with-param name="line">
+                        <xsl:value-of select="comment"/>
+                    </xsl:with-param>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:copy-of select="$convertedComment"/>
+            <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+    <xsl:template match="modification[file][@type='buildstatus']" mode="modifications">
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">modifications-oddrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">modifications-evenrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:value-of select="file/@action"/>
+            <xsl:text> </xsl:text>
+
+            <xsl:value-of select="user"/>
+            <xsl:text> </xsl:text>
+
+            <xsl:if test="file/project">
+                <xsl:value-of select="file/project"/>
+                <xsl:value-of select="'/'"/>
+            </xsl:if>
+
+            <xsl:for-each select="file/filename">
+                <xsl:variable name="thefile" select="substring(current(),1,string-length(current())-4)"/>
+                <xsl:variable name="theproject" select="../../comment"/>
+                <a href="{$urlroot}{$theproject}?log={$thefile}"><xsl:copy-of select="$thefile"/></a>
+                <xsl:text> </xsl:text>
+            </xsl:for-each>
+
+            <xsl:value-of select="date"/>
+            <xsl:variable name="convertedComment">
+                <xsl:call-template name="newlineToHTML">
+                    <xsl:with-param name="line">
+                        <xsl:value-of select="comment"/>
+                    </xsl:with-param>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:copy-of select="$convertedComment"/>
+            <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+    <!-- Up to version 2.1.6 the modification set format did not
+         include the file node -->
+    <xsl:template match="modification" mode="modifications">
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">modifications-oddrow</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">modifications-evenrow</xsl:attribute>
+            </xsl:if>
+
+            <xsl:value-of select="@type"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="user"/>
+            <xsl:text> </xsl:text>
+            <xsl:if test="project">
+                <xsl:value-of select="project"/>
+                <xsl:value-of select="'/'"/>
+            </xsl:if>
+            <xsl:value-of select="filename"/>
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="date"/>
+            <xsl:text> </xsl:text>
+            <xsl:variable name="convertedComment">
+                <xsl:call-template name="newlineToHTML">
+                    <xsl:with-param name="line">
+                        <xsl:value-of select="comment"/>
+                    </xsl:with-param>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:copy-of select="$convertedComment"/>
+            <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+    <!-- Used by CM Synergy -->
+    <xsl:template match="modification[@type='ccmtask']" mode="modifications">
+        <tr>
+            <td class="modifications-sectionheader">Task</td>
+            <td class="modifications-sectionheader">Owner</td>
+            <td class="modifications-sectionheader">Release</td>
+            <td class="modifications-sectionheader">Change Request(s)</td>
+            <td class="modifications-sectionheader">Completion Date</td>
+            <td class="modifications-sectionheader">Synopsis</td>
+        </tr>
+        <tr valign="top">
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+            </xsl:if>
+            <td class="modifications-data">
+                <b><xsl:copy-of select="task"/></b>
+            </td>
+            <td class="modifications-data">
+                <xsl:value-of select="user"/>
+            </td>
+            <td class="modifications-data">
+                <xsl:value-of select="revision"/>
+            </td>
+            <td class="modifications-data">
+                <xsl:apply-templates select="ccmcr" mode="modifications"/>
+            </td>
+            <td class="modifications-data">
+                <xsl:value-of select="date"/>
+            </td>
+            <td class="modifications-data">
+                <xsl:variable name="convertedComment">
+                    <xsl:call-template name="newlineToHTML">
+                        <xsl:with-param name="line">
+                            <xsl:value-of select="comment"/>
+                        </xsl:with-param>
+                    </xsl:call-template>
+                </xsl:variable>
+                <xsl:copy-of select="$convertedComment"/>
+            </td>
+        </tr>
+        <xsl:if test="count(ccmobject) > 0">
+            <tr valign="top">
+                <xsl:if test="position() mod 2=0">
+                    <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+                </xsl:if>
+                <xsl:if test="position() mod 2!=0">
+                    <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+                </xsl:if>
+                <td class="modifications-data" colspan="6">
+                    <table align="right" cellpadding="1" cellspacing="1" border="0" width="95%">
+                        <tr>
+                            <td class="changelists-file-header" colspan="7">
+                                &#160;Objects associated with this task:&#160;
+                                (<xsl:value-of select="count(ccmobject)"/>)
+                            </td>
+                        </tr>
+                        <tr>
+                            <td class="changelists-file-header">Object</td>
+                            <td class="changelists-file-header">Version</td>
+                            <td class="changelists-file-header">Type</td>
+                            <td class="changelists-file-header">Instance</td>
+                            <td class="changelists-file-header">Project</td>
+                            <td class="changelists-file-header">Comment</td>
+                        </tr>
+                        <xsl:apply-templates select="ccmobject" mode="modifications"/>
+                    </table>
+                </td>
+            </tr>
+        </xsl:if>
+    </xsl:template>
+    <xsl:template match="ccmobject" mode="modifications">
+        <tr valign="top" >
+            <xsl:if test="position() mod 2=0">
+                <xsl:attribute name="class">changelists-file-oddrow</xsl:attribute>
+            </xsl:if>
+            <xsl:if test="position() mod 2!=0">
+                <xsl:attribute name="class">changelists-file-evenrow</xsl:attribute>
+            </xsl:if>
+            <td class="modifications-data"><b><xsl:value-of select="name"/></b></td>
+            <td class="modifications-data"><xsl:value-of select="version"/></td>
+            <td class="modifications-data"><xsl:value-of select="type"/></td>
+            <td class="modifications-data"><xsl:value-of select="instance"/></td>
+            <td class="modifications-data"><xsl:value-of select="project"/></td>
+            <td class="modifications-data">
+                <xsl:variable name="convertedComment">
+                    <xsl:call-template name="newlineToHTML">
+                        <xsl:with-param name="line">
+                            <xsl:value-of select="comment"/>
+                        </xsl:with-param>
+                    </xsl:call-template>
+                </xsl:variable>
+                <xsl:copy-of select="$convertedComment"/>
+            </td>
+        </tr>
+    </xsl:template>
+    <xsl:template match="ccmcr" mode="modifications">
+        <xsl:if test="position() != 1">
+            ,
+        </xsl:if>
+        <xsl:copy-of select="*"/>
+    </xsl:template>
+
+    <xsl:template match="/">
+        <xsl:apply-templates select="." mode="modifications"/>
+    </xsl:template>
+
+    <xsl:template name="newlineToHTML">
+        <xsl:param name="line"/>
+        <xsl:choose>
+            <xsl:when test="contains($line, '&#xA;')">
+                <xsl:value-of select="substring-before($line, '&#xA;')"/>
+                <br/>
+                <xsl:call-template name="newlineToHTML">
+                    <xsl:with-param name="line">
+                        <xsl:value-of select="substring-after($line, '&#xA;')"/>
+                    </xsl:with-param>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$line"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+</xsl:stylesheet>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/modifications.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/unittests.xsl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/unittests.xsl?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/unittests.xsl (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/unittests.xsl Mon Apr 23 22:57:11 2007
@@ -0,0 +1,221 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *     + Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *
+ *     + Redistributions in binary form must reproduce the above
+ *       copyright notice, this list of conditions and the following
+ *       disclaimer in the documentation and/or other materials provided
+ *       with the distribution.
+ *
+ *     + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ *       names of its contributors may be used to endorse or promote
+ *       products derived from this software without specific prior
+ *       written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<!-- 
+    Copyright 2006-2007 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. 
+-->
+<xsl:stylesheet
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+    xmlns:lxslt="http://xml.apache.org/xslt">
+
+    <xsl:output method="text"/>
+
+    <xsl:variable name="testsuite.list" select="//testsuite"/>
+    <xsl:variable name="testsuite.error.count" select="count($testsuite.list/error)"/>
+    <xsl:variable name="testcase.list" select="$testsuite.list/testcase"/>
+    <xsl:variable name="testcase.error.list" select="$testcase.list/error"/>
+    <xsl:variable name="testcase.failure.list" select="$testcase.list/failure"/>
+    <xsl:variable name="totalErrorsAndFailures" select="count($testcase.error.list) + count($testcase.failure.list) + $testsuite.error.count"/>
+
+    <xsl:template match="/" mode="unittests">
+            <!-- Unit Tests -->
+        <xsl:text>&#10;***********************************************************&#10;</xsl:text>
+        <xsl:text>Unit tests result: </xsl:text>
+        <xsl:text>&#10;</xsl:text>
+
+            <xsl:choose>
+                <xsl:when test="count($testsuite.list) = 0">
+                     <!--xsl:text>No Tests Run: This project doesn't have any tests&#10;</xsl:text-->
+                    <xsl:text>All Tests Passed&#10;</xsl:text>
+                </xsl:when>
+
+                <xsl:when test="$totalErrorsAndFailures = 0">
+                    <xsl:text>All Tests Passed&#10;</xsl:text>
+                </xsl:when>
+            </xsl:choose>
+
+            <xsl:apply-templates select="$testcase.error.list" mode="unittests"/>
+            <xsl:apply-templates select="$testcase.failure.list" mode="unittests"/>
+
+            <xsl:if test="$totalErrorsAndFailures > 0">
+
+                <xsl:text>Unit Test Error Details:	</xsl:text>(<xsl:value-of select="$totalErrorsAndFailures"/>)
+                <xsl:text>&#10;</xsl:text>
+
+                <!-- (PENDING) Why doesn't this work if set up as variables up top? -->
+                <xsl:call-template name="testdetail">
+                    <xsl:with-param name="detailnodes" select="//testsuite/testcase[.//error]"/>
+                </xsl:call-template>
+
+                <xsl:call-template name="testdetail">
+                    <xsl:with-param name="detailnodes" select="//testsuite/testcase[.//failure]"/>
+                </xsl:call-template>
+            </xsl:if>
+    </xsl:template>
+
+    <!-- UnitTest Errors -->
+    <xsl:template match="error" mode="unittests">
+        <xsl:if test="position() mod 2 = 0">
+            <xsl:attribute name="class">unittests-oddrow</xsl:attribute>
+        </xsl:if>
+
+        <xsl:text>error: </xsl:text>
+        <xsl:value-of select="../@name"/>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="..//..//@name"/>
+        <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+    <!-- UnitTest Failures -->
+    <xsl:template match="failure" mode="unittests">
+        <xsl:if test="($testsuite.error.count + position()) mod 2 = 0">
+            <xsl:attribute name="class">unittests-oddrow</xsl:attribute>
+        </xsl:if>
+
+        <xsl:text>failure: </xsl:text>
+        <xsl:value-of select="../@name"/>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="..//..//@name"/>
+        <xsl:text>&#10;</xsl:text>
+    </xsl:template>
+
+    <!-- UnitTest Errors And Failures Detail Template -->
+    <xsl:template name="testdetail">
+        <xsl:param name="detailnodes"/>
+        <xsl:for-each select="$detailnodes">
+            <xsl:text>Test: </xsl:text>
+            <xsl:value-of select="@name"/>
+            <xsl:text>Class: </xsl:text>
+            <xsl:value-of select="..//@name"/>
+
+            <xsl:if test="error">
+                <xsl:call-template name="test-data">
+                    <xsl:with-param name="word" select="error"/>
+                    <xsl:with-param name="type" select="'error'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+            <xsl:if test="failure">
+                <xsl:call-template name="test-data">
+                    <xsl:with-param name="word" select="failure"/>
+                    <xsl:with-param name="type" select="'failure'"/>
+                </xsl:call-template>
+            </xsl:if>
+
+        </xsl:for-each>
+    </xsl:template>
+
+    <xsl:template name="test-data">
+        <xsl:param name="word"/>
+        <xsl:param name="type"/>
+        <xsl:call-template name="stack-trace">
+            <xsl:with-param name="word" select="$word"/>
+            <xsl:with-param name="type" select="$type"/>
+        </xsl:call-template>
+    </xsl:template>
+
+    <xsl:template name="stack-trace">
+        <xsl:param name="word"/>
+        <xsl:param name="type"/>
+        <xsl:call-template name="br-replace">
+            <xsl:with-param name="word" select="$word"/>
+            <xsl:with-param name="type" select="$type"/>
+            <xsl:with-param name="count" select="0"/>
+        </xsl:call-template>
+    </xsl:template>
+
+    <xsl:template name="br-replace">
+        <xsl:param name="word"/>
+        <xsl:param name="type"/>
+        <xsl:param name="count"/>
+        <xsl:variable name="stackstart"><xsl:text>	at</xsl:text></xsl:variable>
+        <xsl:variable name="cr"><xsl:text>
+</xsl:text></xsl:variable>
+        <xsl:choose>
+            <xsl:when test="contains($word,$cr)">
+                <xsl:attribute name="class">unittests-<xsl:value-of select="$type"/></xsl:attribute>
+                <xsl:if test="$count mod 2 != 0">
+                    <xsl:attribute name="bgcolor">#EEEEEE</xsl:attribute>
+                </xsl:if>
+
+                <xsl:if test="$count != 0 and starts-with($word,$stackstart)">
+                    <xsl:value-of select="substring-before($word,$cr)"/>
+                    <xsl:text>&#10;</xsl:text>
+                </xsl:if>
+
+                <xsl:if test="$count != 0 and not(starts-with($word,$stackstart))">
+                    <xsl:value-of select="substring-before($word,$cr)"/>
+                    <xsl:text>&#10;</xsl:text>
+                </xsl:if>
+
+                <xsl:if test="$count = 0">
+                    <xsl:value-of select="substring-before($word,$cr)"/>
+                    <xsl:text>&#10;</xsl:text>
+                </xsl:if>
+                <xsl:call-template name="br-replace">
+                    <xsl:with-param name="word" select="substring-after($word,$cr)"/>
+                    <xsl:with-param name="type" select="$type"/>
+                    <xsl:with-param name="count" select="$count + 1"/>
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:attribute name="class">unittests-<xsl:value-of select="$type"/></xsl:attribute>
+                <xsl:if test="$count mod 2 != 0">
+                    <xsl:attribute name="bgcolor">#EEEEEE</xsl:attribute>
+                </xsl:if>
+                <xsl:value-of select="$word"/>
+                <xsl:text>&#10;</xsl:text>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <xsl:template match="/">
+        <xsl:apply-templates select="." mode="unittests"/>
+    </xsl:template>
+</xsl:stylesheet>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/cc/xsl/unittests.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/parameters.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/parameters.xml?view=auto&rev=531775
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/parameters.xml (added)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/parameters.xml Mon Apr 23 22:57:11 2007
@@ -0,0 +1,56 @@
+<parameters depends="classlib,drlvm">
+    <!-- required -->
+    <required>
+	<path.jre 
+		description="Path to JRE Under Test"
+		value="${drlvm.parameters.shared.jre.dir}"/>		    																			
+	<vmname
+		description="Name of tested VM"
+		value="drl"/>
+	<forkmode
+		description="Could be once or perTest"
+		value="once"/>
+        <classlib.trunk 
+        	description="Path to Classlib Workspace" 
+        	value="${classlib.parameters.shared.trunk.dir}"/>
+	<repetitions.number
+	        description="The number of iterations to run tests of every module"
+		value="50"/>
+    </required>
+
+    <!-- optional values -->
+    <optional>
+	<timeout
+		description="Time in milliseconds, 
+				after that period HUT iterative run will be halted
+				259200 sec = 72 hours"
+		value="259200000"/>
+	<quiteperiod
+		description="Time in seconds after last modification, before new build is started
+				seems not to have much sense for classlib tests running"
+		value="180"/>
+	<interval
+		description="Time in seconds between two subsequent builds
+				32400=3.5 days, twice a week"
+		value="20"/>
+		<!--value="302400"/-->
+    </optional>
+
+    <!-- shared values -->
+    <external>
+        <xalan
+	    jar="xalan-2.7.0.jar"
+            url="http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.7.0/xalan-2.7.0.jar"
+            md5="a018d032c21a873225e702b36b171a10" 
+        />
+    </external>
+    <shared>
+    </shared>
+
+    <!-- CC specific configuration -->
+    <cc 
+        config="${adaptors.dir}/${suite.name}/cc/HUT_iterative-project.xml"
+	publisher="${adaptors.dir}/${suite.name}/cc/publisher.xml"
+        trigger="${classlib.parameters.shared.trunk.dir}/${suite.name}.trigger"
+    />
+</parameters>

Propchange: harmony/enhanced/buildtest/branches/2.0/adaptors/HUT_iterative/parameters.xml
------------------------------------------------------------------------------
    svn:eol-style = native