[jboss-svn-commits] JBL Code SVN: r26426 - in labs/jbosstm/workspace/resttx: docs and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu May 7 18:00:21 EDT 2009
Author: mmusgrov
Date: 2009-05-07 18:00:20 -0400 (Thu, 07 May 2009)
New Revision: 26426
Modified:
labs/jbosstm/workspace/resttx/docs/readme.txt
labs/jbosstm/workspace/resttx/readme.txt
Log:
Notes
Modified: labs/jbosstm/workspace/resttx/docs/readme.txt
===================================================================
--- labs/jbosstm/workspace/resttx/docs/readme.txt 2009-05-07 21:50:59 UTC (rev 26425)
+++ labs/jbosstm/workspace/resttx/docs/readme.txt 2009-05-07 22:00:20 UTC (rev 26426)
@@ -1,18 +1,20 @@
This project is work in progress.
-mvn install # build and install everything
-mvn test # run tests
+mvn install # build, test and install everything
cd webservice; mvn jetty6:run-exploded # run the coordinator and particpants
cd webservcie; ant # runs a client of the coordinator
Notes:
-1. To debug the code:
+1. mvn test in the top level directory fails on the demo module (which can be
+ignored for the time being)
+
+2. To debug the code:
export MAVEN_OPTS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5001 -Dmaven.test.skip=[true|false]"
mvn -DforkMode=none test
-2. To integrate with JBossTM set the following property:
+3. To integrate with JBossTM set the following property:
<property name="com.arjuna.ats.internal.arjuna.inventory.staticInventoryImple.RESTRecord"
value="org.jboss.jbossts.rts.resource.RESTRecordSetup" />
@@ -20,7 +22,7 @@
The distribution comes with its own jbossjta-properties.xml with this property
already set.
-3. The resource handlers are singletons. Thus, for example, if the coordinator
+4. The resource handlers are singletons. Thus, for example, if the coordinator
and participant are in the same VM and then if the coordinator sends a request
to the participant which sends a request back to the coordinator then they
will deadlock.
Modified: labs/jbosstm/workspace/resttx/readme.txt
===================================================================
--- labs/jbosstm/workspace/resttx/readme.txt 2009-05-07 21:50:59 UTC (rev 26425)
+++ labs/jbosstm/workspace/resttx/readme.txt 2009-05-07 22:00:20 UTC (rev 26426)
@@ -1,6 +1,6 @@
There are some extra notes in the docs directory.
- mvn install # build everything with tests
- mvn install -Dmaven.test.skip # build everything without tests
+ mvn clean install # build everything with tests
+ mvn clean install -Dmaven.test.skip # build everything without tests
The initial install takes some time since it downloads GWT (Google Web
Toolkit) for the demo. GWT is quite bulky.
More information about the jboss-svn-commits
mailing list