[jboss-svn-commits] JBL Code SVN: r28811 - labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Aug 4 17:31:12 EDT 2009
Author: whitingjr
Date: 2009-08-04 17:31:11 -0400 (Tue, 04 Aug 2009)
New Revision: 28811
Added:
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/README.txt
Modified:
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/build.xml
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml
Log:
Updated configuration.
Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/README.txt
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/README.txt (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/README.txt 2009-08-04 21:31:11 UTC (rev 28811)
@@ -0,0 +1,17 @@
+# Running AOP JUnit test cases.
+
+ To run AOP runtime weaving the test cases you need to configure your system. Eclipse
+has run configurations to enable this. The jvm needs properties passed in with
+configuration details to find
+
+a) the aop configuration file, jboss-aop.xml
+b) the location of the aop library for performing bytecode manipulation at load time. javaagent
+
+ A typical configuration for this JAR module is as follows
+
+-javaagent:/home/whitingjr/eclipse/workspaces/red-hat/MVCCSample-build/dependencies/jboss-aop-jdk50-single.jar
+-Djboss.aop.path=/home/whitingjr/eclipse/workspaces/red-hat/MVCCSampleSTM/src/main/resources/META-INF/jboss-aop.xml
+
+ These are enough details for the runtime system to recognise and apply the intercepting of invocations.
+
+
Modified: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/build.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/build.xml 2009-08-04 21:30:54 UTC (rev 28810)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/build.xml 2009-08-04 21:31:11 UTC (rev 28811)
@@ -76,7 +76,7 @@
<target name="aopc" depends="compile">
<aopc compilerclasspathref="classpath" classpathref="classpath" verbose="true">
<classpath path="classes"/>
- <src path="classes"/>
+ <src path="src/main/java"/>
<aoppath path="jboss-aop.xml"/>
</aopc>
</target>
Modified: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml 2009-08-04 21:30:54 UTC (rev 28810)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml 2009-08-04 21:31:11 UTC (rev 28811)
@@ -23,6 +23,12 @@
<version>3.9.0.GA</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -36,7 +42,7 @@
<configuration>
<includeProjectDependency>true</includeProjectDependency>
<aoppaths>
- <aoppath>src/main/resources/versioning-aop.xml</aoppath>
+ <aoppath>src/main/resources/META-INF/jboss-aop.xml</aoppath>
</aoppaths>
<includes>
<include>uk/ac/ncl/sdia/a8905943/model/Car.class</include>
@@ -55,10 +61,12 @@
<configuration>
<forkMode>always</forkMode>
<useSystemClassLoader>false</useSystemClassLoader>
- <argLine>-Djboss.aop.path=src/main/resources/versioning-aop.xml</argLine>
+ <argLine>-Djboss.aop.path=src/main/resources/META-INF/jboss-aop.xml</argLine>
<additionalClasspathElement>src/test/resources</additionalClasspathElement>
</configuration>
</plugin>
</plugins>
</build>
+
+
</project>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list