<?xml version="1.0" encoding="UTF-8"?>
<!--
  JBoss, Home of Professional Open Source
  Copyright 2007, Red Hat Middleware LLC, and individual contributors
  as indicated by the @author tags.
  See the copyright.txt in the distribution for a
  full listing of individual contributors.
  This copyrighted material is made available to anyone wishing to use,
  modify, copy, or redistribute it subject to the terms and conditions
  of the GNU Lesser General Public License, v. 2.1.
  This program is distributed in the hope that it will be useful, but WITHOUT A
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  You should have received a copy of the GNU Lesser General Public License,
  v.2.1 along with this distribution; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  MA  02110-1301, USA.

  (C) 2005-2008,
  @author JBoss Inc.
-->
<product-configuration name="JBossTS_JTA_QA" permutationid="JTAQ">

	<classpath-configurations>
		<classpath name="main">

			<jar name="$(PRODUCT.DIR)/lib/jbossjta.jar"/>

			<directory name="$(PRODUCT.DIR)/etc/"/>
			<jar name="$(PRODUCT.DIR)/lib/ext/*.jar"/>
			<jar name="$(PRODUCT.DIR)/lib/ext/*.zip"/>

			<jar name="$(PRODUCT.DIR)/qa/lib/*.jar"/>

			<jar name="$(DTF_HOME)/lib/ext/fscontext.jar"/>
			<jar name="$(DTF_HOME)/lib/ext/providerutil.jar"/>

<!--
			<jar name="$(PRODUCT.DIR)/lib/arjunajta.jar"/>
			<jar name="$(PRODUCT.DIR)/qa/lib/*.zip"/>
			<jar name="$(PRODUCT.DIR)/qa/lib/*.jar"/>
			<jar name="$(DTF_HOME)/lib/*.jar"/>
			<jar name="$(PRODUCT.DIR)/tests/*.jar"/>
			<directory name="$(PRODUCT.DIR)/etc/"/>
			<jar name="$(PRODUCT.DIR)/lib/ext/*.jar"/>
-->
		</classpath>
	</classpath-configurations>

	<node-configurations>

        <node-configuration os="local">
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
				<property name="qa.debug" value="true"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
                <property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>

                <!-- DONT set this one for local, we want the hardcoded default instead
                    <property name="org.jboss.jbossts.qa.Utils.ServerIORStore.plugin"
						  value="org.jboss.jbossts.qa.Utils.DistributedIORStorePlugin"/> -->

                <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//localhost:1099/NameService"/>
			</properties>
			<sets>
                <set name="CALLS" value="1000"/>

                <!-- use relative paths in the hope of location independence. Caution: if you run the ant script
                     that invokes the local tests from a working dir other than qa, you likely to be eaten by a grue -->
                <set name="DTF_HOME" value="build/qa"/>
                <set name="PRODUCT.DIR" value="build"/>
				<set name="ARJUNAJTS_HOME" value="build"/>
                <set name="LOCAL_PARAMETER" value="-local"/>
                <set name="CALLS" value="1000"/>
			</sets>
			<jvm id="1.5.0"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>

        <node-configuration os="Linux">
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
				<property name="qa.debug" value="false"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
				<property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
				<property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
						  value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
				<property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//localhost:1099/NameService"/>
			</properties>
			<sets>
				<set name="DTF_HOME" value="/services/DTF/"/>
				<set name="LOCAL_PARAMETER" value="-local"/>
				<set name="PRODUCTS_HOME" value="/services/DTF/products"/>
				<set name="INSTALL.DIR" value="/services/DTF/JBossTS-JTA-QA/"/>
				<set name="CALLS" value="100"/>
				<set name="PRODUCT.DIR" value="/services/DTF/JBossTS-JTA-QA/"/>
				<!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
				<set name="ARJUNAJTS_HOME" value="/services/DTF/JBossTS-JTA-QA/"/>
			</sets>
			<jvm id="1.4.2"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>

        <node-configuration os="Linux_jdk15">
            <properties>
                <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
                <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
                <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
                <property name="qa.debug" value="false"/>
                <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
                <property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
                <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
                          value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
                <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
                <property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//localhost:1099/NameService"/>
            </properties>
            <sets>
                <set name="DTF_HOME" value="/services/DTF/"/>
                <set name="LOCAL_PARAMETER" value="-local"/>
                <set name="PRODUCTS_HOME" value="/services/DTF/products"/>
                <set name="INSTALL.DIR" value="/services/DTF/JBossTS-JTA-QA/"/>
                <set name="CALLS" value="100"/>
                <set name="PRODUCT.DIR" value="/services/DTF/JBossTS-JTA-QA/"/>
                <!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
                <set name="ARJUNAJTS_HOME" value="/services/DTF/JBossTS-JTA-QA/"/>
            </sets>
            <jvm id="1.5.0"/>
            <default-classpath name="main"/>
            <node-exclusions/>
        </node-configuration>

        <!-- ###  The following node configs are for the JBoss DTF cluster (dtf*.qa.atl2.redhat.com)
                    https://wiki.corp.jboss.com/bin/view/IT/SystemServiceQaAllMachines#DTF_Lab
                  The testnode is in /qa/local/dtf-admin/DTF and coordinator host is dtfexec1 ### -->

		<node-configuration os="RHEL4-32"><!-- RHEL4, x86: dtf1 -->
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
				<property name="qa.debug" value="false"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
				<property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
				<property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
						  value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
				<property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
			</properties>
			<sets>
				<set name="DTF_HOME" value="/qa/local/dtf-admin/JBossDTF"/>
				<set name="LOCAL_PARAMETER" value="-local"/>
				<set name="PRODUCTS_HOME" value="/qa/local/dtf-admin/JBossDTF/products"/>
				<set name="INSTALL.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<set name="CALLS" value="100"/>
				<set name="PRODUCT.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
				<set name="ARJUNAJTS_HOME" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
			</sets>
			<jvm id="1.5.0"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>

		<node-configuration os="RHEL4-64"><!-- RHEL4, x86_64: dtf3 -->
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
				<property name="qa.debug" value="false"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
				<property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
				<property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
						  value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
				<property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
			</properties>
			<sets>
				<set name="DTF_HOME" value="/qa/local/dtf-admin/JBossDTF"/>
				<set name="LOCAL_PARAMETER" value="-local"/>
				<set name="PRODUCTS_HOME" value="/qa/local/dtf-admin/JBossDTF/products"/>
				<set name="INSTALL.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<set name="CALLS" value="100"/>
				<set name="PRODUCT.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
				<set name="ARJUNAJTS_HOME" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
			</sets>
            <jvm id="1.5.0"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>
		<node-configuration os="RHEL5-32"><!-- RHEL5, x86: dtf2 -->
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
				<property name="qa.debug" value="false"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
				<property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
				<property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
						  value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
				<property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
			</properties>
			<sets>
				<set name="DTF_HOME" value="/qa/local/dtf-admin/JBossDTF"/>
				<set name="LOCAL_PARAMETER" value="-local"/>
				<set name="PRODUCTS_HOME" value="/qa/local/dtf-admin/JBossDTF/products"/>
				<set name="INSTALL.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<set name="CALLS" value="100"/>
				<set name="PRODUCT.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
				<set name="ARJUNAJTS_HOME" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
			</sets>
            <jvm id="1.5.0"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>
		<node-configuration os="RHEL5-64"><!-- RHEL5, x86_64: dtf4 -->
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
				<property name="qa.debug" value="false"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
				<property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
				<property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
						  value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
				<property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
			</properties>
			<sets>
				<set name="DTF_HOME" value="/qa/local/dtf-admin/JBossDTF"/>
				<set name="LOCAL_PARAMETER" value="-local"/>
				<set name="PRODUCTS_HOME" value="/qa/local/dtf-admin/JBossDTF/products"/>
				<set name="INSTALL.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<set name="CALLS" value="100"/>
				<set name="PRODUCT.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
				<!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
				<set name="ARJUNAJTS_HOME" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
			</sets>
            <jvm id="1.5.0"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>

        <node-configuration os="SOL10-SPARC"><!-- Solaris 10 on SPARC: dtf7, dtf8 -->
            <properties>
                <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
                <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
                <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
                <property name="qa.debug" value="false"/>
                <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
                <property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
                <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
                          value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
                <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
                <property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
            </properties>
            <sets>
                <set name="DTF_HOME" value="/qa/local/dtf-admin/JBossDTF"/>
                <set name="LOCAL_PARAMETER" value="-local"/>
                <set name="PRODUCTS_HOME" value="/qa/local/dtf-admin/JBossDTF/products"/>
                <set name="INSTALL.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
                <set name="CALLS" value="100"/>
                <set name="PRODUCT.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
                <!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
                <set name="ARJUNAJTS_HOME" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
            </sets>
            <jvm id="1.5.0"/>
            <default-classpath name="main"/>
            <node-exclusions/>
        </node-configuration>

        <node-configuration os="HPUX11-IA64"><!-- HP-UX 11i on Itanium: dtf9, dtf10 -->
            <properties>
                <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
                <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
                <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
                <property name="qa.debug" value="false"/>
                <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
                <property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
                <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
                          value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
                <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
                <property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
            </properties>
            <sets>
                <set name="DTF_HOME" value="/qa/local/dtf-admin/JBossDTF"/>
                <set name="LOCAL_PARAMETER" value="-local"/>
                <set name="PRODUCTS_HOME" value="/qa/local/dtf-admin/JBossDTF/products"/>
                <set name="INSTALL.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
                <set name="CALLS" value="100"/>
                <set name="PRODUCT.DIR" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
                <!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
                <set name="ARJUNAJTS_HOME" value="/qa/local/dtf-admin/JBossDTF/JBossTS-JTA-QA/"/>
            </sets>
            <jvm id="1.5.0"/>
            <default-classpath name="main"/>
            <node-exclusions/>
        </node-configuration>

		<node-configuration os="WIN2003-64"><!-- Windows 2003 Server on x86_64 -->
			<properties>
				<property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
				<property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
				<property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
                <property name="qa.debug" value="false"/>
				<property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
                <property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
				<property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
						  value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
				<property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
				<property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//dtfexec1.qa.atl2.redhat.com:1099/NameService"/>
			</properties>
			<sets>
				<set name="DTF_HOME" value="c:/qa/local/dtf-admin/JBossDTF/"/>
				<set name="LOCAL_PARAMETER" value="-local"/>
				<set name="PRODUCTS_HOME" value="c:/qa/local/dtf-admin/JBossDTF/products/"/>
				<set name="INSTALL.DIR" value="c:/qa/local/dtf-admin/JBossDTF/ArjunaJTA-QA/"/>
				<set name="CALLS" value="100"/>
                <set name="PRODUCT.DIR" value="c:/qa/local/dtf-admin/JBossDTF/ArjunaJTA-QA/"/>
                <!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
				<set name="ARJUNAJTS_HOME" value="c:/qa/local/dtf-admin/JBossDTF/ArjunaJTA-QA/"/>
			</sets>
            <jvm id="1.5.0"/>
			<default-classpath name="main"/>
			<node-exclusions/>
		</node-configuration>

    </node-configurations>




    <task-runner-definitions>
		<task-runner name="UnitTestRunner" class="com.arjuna.mwlabs.testframework.testnode.UnitTestTaskRunner"
					 log-to="http://dtfexec1.qa.atl2.redhat.com:8080/dtf/">
			<param name="pass_on_wait_for" value="true"/>
			<param name="fail_indicator" value="Failed"/>
			<param name="wait_for_text" value="Ready"/>
			<param name="pass_indicator" value="Passed"/>
		</task-runner>
		<task-runner name="ServiceRunner" class="com.arjuna.mwlabs.testframework.testnode.JavaTaskRunner"
					 log-to="http://dtfexec1.qa.atl2.redhat.com:8080/dtf/">
			<param name="pass_on_wait_for" value="true"/>
			<param name="fail_indicator" value="Failed"/>
			<param name="wait_for_text" value="Ready"/>
			<param name="pass_indicator" value="Passed"/>
		</task-runner>
		<task-runner name="JavaTaskRunner" class="com.arjuna.mwlabs.testframework.testnode.JavaTaskRunner"
					 log-to="http://dtfexec1.qa.atl2.redhat.com:8080/dtf/">
			<param name="pass_on_wait_for" value="true"/>
			<param name="fail_indicator" value="Failed"/>
			<param name="wait_for_text" value="Ready"/>
			<param name="pass_indicator" value="Passed"/>
		</task-runner>
	</task-runner-definitions>
</product-configuration>
