User: mulder
Date: 00/10/21 09:29:25
Modified: src/build build.xml
Log:
Added a test of 2-phase commit.
This creates 3 connections across 2 data sources and does work on them
and commits them together as a 2-phase commit transaction.
You must create DB Pools "XADataSource1" and "XADataSource2" pointing to
different DBs, and create a table in each - it'll spew out the table
create statement if you run it and it can't find the tables.
Revision Changes Path
1.7 +14 -0 jbosstest/src/build/build.xml
Index: build.xml
===================================================================
RCS file: /products/cvs/ejboss/jbosstest/src/build/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.xml 2000/10/09 18:12:51 1.6
+++ build.xml 2000/10/21 16:29:24 1.7
@@ -171,6 +171,20 @@
includes="org/jboss/test/dbtest/interfaces/**,org/jboss/test/dbtest/bean/**,**/*.xml"
/>
+ <!-- xatest -->
+ <deltree dir="${build.classes.dir}/META-INF"/>
+ <copydir src="${src.resources}/xa" dest="${build.classes.dir}"/>
+ <jar jarfile="${build.lib.dir}/xatestclient.jar"
+ basedir="${build.classes.dir}"
+ manifest="${etc.dir}/manifest.mf"
+ includes="org/jboss/test/xa/interfaces/**,org/jboss/test/xa/test/**"
+ />
+
+ <jar jarfile="${build.deploy.dir}/xatest.jar"
+ basedir="${build.classes.dir}"
+
includes="org/jboss/test/xa/interfaces/**,org/jboss/test/xa/bean/**,**/*.xml"
+ />
+
<!-- locktest -->
<deltree dir="${build.classes.dir}/META-INF"/>
<copydir src="${src.resources}/lock" dest="${build.classes.dir}"/>