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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Nov 10 12:23:48 EST 2009


Author: whitingjr
Date: 2009-11-10 12:23:47 -0500 (Tue, 10 Nov 2009)
New Revision: 30092

Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/.classpath
   labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt
   labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml
   labs/jbosstm/workspace/whitingjr/trunk/performance/pom.xml
Log:
UPdated with support for databases.

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/.classpath
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/.classpath	2009-11-10 17:23:10 UTC (rev 30091)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/.classpath	2009-11-10 17:23:47 UTC (rev 30092)
@@ -10,9 +10,10 @@
 	<classpathentry kind="lib" path="lib/hibernate-annotations.jar"/>
 	<classpathentry kind="lib" path="lib/hibernate-entitymanager.jar"/>
 	<classpathentry kind="lib" path="lib/hibernate-tools.jar"/>
-	<classpathentry kind="lib" path="lib/hibernate3.jar"/>
+	<classpathentry kind="lib" path="lib/hibernate3.jar" sourcepath="/hibernate-core-v3.2.1_GA"/>
 	<classpathentry kind="lib" path="lib/jboss-ejb3-all.jar"/>
 	<classpathentry kind="lib" path="lib/thirdparty-all.jar"/>
 	<classpathentry kind="lib" path="lib/caveatemptor-jpa.jar"/>
+	<classpathentry kind="lib" path="lib/dbdrivers/oracle/ojdbc14.jar"/>
 	<classpathentry kind="output" path="target/classes"/>
 </classpath>

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt	2009-11-10 17:23:10 UTC (rev 30091)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt	2009-11-10 17:23:47 UTC (rev 30092)
@@ -5,25 +5,29 @@
    
 Release Notes:
 
-0.0.1 -  Includes proof of concept with a demonstration application.
+0.1 -  Includes proof of concept with a demonstration application.
          Initial release of project with TestNG.
          Validates user command line arguments for driver installation.
          Validates user command line arguments for property configuration. 
 
-0.0.2 -  Profiling enabled for Caveat Emptor test suite.
+0.2 -  Profiling enabled for Caveat Emptor test suite.
          Supports multi-vendor database configuration.
          Support local transaction persistence configuration
          Supports JDBC driver for multi vendors
          Supports profiling configuration for vendor specific datasource classes.
 
-0.0.3    Supports Transaction XA single resource persistence configuration.
-         Support NoTransaction resource persistence configuration.
-         Checks command line XA parameter against vendor database driver support for XA.
-         Added integrity constraint relaxing for multiple database vendors.
+0.3    Supports Transaction XA single resource persistence configuration.
+       Support NoTransaction resource persistence configuration.
+       Checks command line XA parameter against vendor database driver support for XA.
+         
 
-0.0.4    Added multi XA resource persistence configuration. 
-         Supports filtering and merging of results into categories.
+0.4    Added multi XA resource persistence configuration. 
+       Added integrity constraint relaxing for multiple database vendors.
 
+0.5    Supports filtering and merging of results into categories.
+
 Known issues:
 
 * Derby database implementation does not support relaxing integrety constraints. The sample data provided using DBUnit import needs constraints turning off. This makes Derby an unsuitable database to use with this performance framework.
+* MySQL does not provide complete XA spec support for distributed transactions.
+

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml	2009-11-10 17:23:10 UTC (rev 30091)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/build.xml	2009-11-10 17:23:47 UTC (rev 30092)
@@ -14,7 +14,9 @@
 		<dependency groupId="com.mentorgen.tools.profile" artifactId="jip" version="1.0" />
 		<dependency groupId="com.mentorgen.tools.profile" artifactId="jip-client" version="1.0" />
 		<dependency groupId="org.slf4j" artifactId="slf4j-api" version="1.5.8" />
-			<dependency groupId="org.slf4j" artifactId="slf4j-log4j12" version="1.5.8" />
+		<dependency groupId="org.slf4j" artifactId="slf4j-log4j12" version="1.5.8" />
+		<dependency groupId="commons-dbutils" artifactId="commons-dbutils" version="1.2" />
+		<dependency groupId="commons-io" artifactId="commons-io" version="1.4" />
 	</artifact:dependencies>
 
 	<property name="required-args" value="-Dtransaction.strategy=value -Ddb.installation=value -Ddb.vendor=value -Djdbc-datasource=value" />
@@ -41,7 +43,6 @@
 		<pathelement path="/home/whitingjr/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar" />
 		<pathelement path="lib/client.jar" />
 		<pathelement path="/home/whitingjr/.m2/repository/org/dbunit/dbunit/2.4.6/dbunit-2.4.6.jar" />
-		<pathelement path="lib/tomcat-integration.jar" />
 		<pathelement path="lib/testng-5.10-jdk15.jar" />
 		<pathelement path="lib/jboss-ejb3-all.jar" />
 		<pathelement path="lib/caveatemptor-jpa.jar" />
@@ -50,6 +51,7 @@
 		<pathelement path="lib/hibernate3.jar" />
 		<pathelement path="lib/hibernate-annotations.jar" />
 		<pathelement path="lib/hibernate-entitymanager.jar" />
+		<path refid="database.driver" />
 	</path>
 
 	<path id="demo.run.classpath">
@@ -60,7 +62,6 @@
 	<path id="demo.test.classpath">
 		<path refid="demo.run.classpath" />
 		<pathelement path="src/test/resources" />
-		<path refid="database.driver" />
 	</path>
 
 	<target name="check-arguments">
@@ -197,8 +198,8 @@
 	</target-->
 
 	<target name="compile" depends="prepare">
-		<javac srcdir="src/main/java" destdir="${build.classes.dir}" classpathref="demo.compile.classpath" debug="true"  debuglevel="lines"/>
-		<javac srcdir="src/test/java" destdir="${build.classes.dir}" classpathref="demo.run.classpath" debug="true" debuglevel="lines"/>
+		<javac srcdir="src/main/java" destdir="${build.classes.dir}" classpathref="demo.compile.classpath" debug="true"/>
+		<javac srcdir="src/test/java" destdir="${build.classes.dir}" classpathref="demo.run.classpath" debug="true"/>
 	</target>
 
 	<target name="profile-ejb3" depends="compile">
@@ -222,6 +223,8 @@
 		<testng outputDir="${test.output.dir}">
 			<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=y,address=8000" />
 			<classpath>
 				<path refid="demo.test.classpath" />
 			</classpath>

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/pom.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/pom.xml	2009-11-10 17:23:10 UTC (rev 30091)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/pom.xml	2009-11-10 17:23:47 UTC (rev 30092)
@@ -58,6 +58,17 @@
 			<artifactId>jnp-client</artifactId>
 			<version>4.2.2.GA</version>
 		</dependency>
+		<dependency>
+         <groupId>commons-dbutils</groupId>
+         <artifactId>commons-dbutils</artifactId>
+         <version>1.2</version>
+      </dependency>
+      <dependency>
+         <groupId>commons-io</groupId>
+         <artifactId>commons-io</artifactId>
+         <version>1.4</version>
+      </dependency>
+		
 	</dependencies>
 	<build>
 		<plugins>
@@ -72,6 +83,7 @@
 			</plugin>
 		</plugins>
 	</build>
-
-
+   
+   
+   
 </project>
\ No newline at end of file



More information about the jboss-svn-commits mailing list