[jboss-svn-commits] JBL Code SVN: r30174 - labs/jbosstm/workspace/whitingjr/trunk/performance.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Nov 16 07:54:57 EST 2009


Author: whitingjr
Date: 2009-11-16 07:54:57 -0500 (Mon, 16 Nov 2009)
New Revision: 30174

Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml
Log:
Added comments at beginning.

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml	2009-11-16 12:54:04 UTC (rev 30173)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml	2009-11-16 12:54:57 UTC (rev 30174)
@@ -1,6 +1,28 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <project name="JBoss TM performance comparison project" default="profile-ejb3" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
-	<import file="/home/whitingjr/java/hibernate/caveatemptor-jpa-061211/build.xml" />
+	<!--
+	This project executes the Hibernate sample application Caveat Emptor. There are two versions
+	and this project uses the version based on JPA. By running the sample test case and additional
+	tests the quantity of time necessary for components can be captured and compared.
+	The criteria for comparison are: database vendor, JDBC native or JTA managed transaction
+	and datasource configuration using a XA aware resource driver.
+	To run the performance tests you will need to download the client database driver
+	appropriate to the database(s) profiled against. Follow the configuration instructions 
+	in the INSTALL.txt file.
+	
+	 Each database driver is installed using this
+	pattern. Place the driver jar file in the following directory
+	./performance/libs/dbdrivers/<dbvendor>/
+	The <dbvendor> directory created is used later in the command line.
+	
+	Then the database connection details require configuring. Create a directory
+	using the same <dbvendor> used in the previous step.
+	./performance/src/main/resources/properties/database/<dbvendor>/
+	Then copy the contents of the sample directory into the one just created.
+	
+	
+	
+	 -->
 	<!-- TODO: Add a section to the beginning of the build.xml. Explain what the script does and the dependencies that have to be downloaded and installed.
 	-->
 	<!-- TODO: Remove obsolete properties and dependencies. -->
@@ -211,7 +233,7 @@
 			<jvmarg value="-javaagent:lib/profile.jar" />
 			<jvmarg value="-Dprofile.properties=build/classes/profile.properties" />
 			<jvmarg value="-Xdebug" />
-			<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" />
+			<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
 			<classpath>
 				<path refid="demo.test.classpath" />
 			</classpath>



More information about the jboss-svn-commits mailing list