|
From: Ben W. <bw...@us...> - 2004-03-10 00:29:12
|
User: bwang00
Date: 04/03/09 16:03:47
Modified: . build.xml
Log:
Added treecacheaop with aopc tests
Revision Changes Path
1.344 +57 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -r1.343 -r1.344
--- build.xml 8 Mar 2004 11:52:17 -0000 1.343
+++ build.xml 10 Mar 2004 00:03:47 -0000 1.344
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.343 2004/03/08 11:52:17 tdiesler Exp $ -->
+<!-- $Id: build.xml,v 1.344 2004/03/10 00:03:47 bwang00 Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -5396,6 +5396,9 @@
<target name="tests-standalone-aop-unit" depends="compile">
<antcall target="tests-treecacheaop-unit" inheritRefs="true"/>
+<!--
+ <antcall target="tests-treecacheaopc-unit" inheritRefs="true"/>
+-->
<antcall target="tests-baseaop-unit" inheritRefs="true"/>
</target>
@@ -5435,6 +5438,59 @@
</junit>
</target>
+ <target name="tests-treecacheaopc-unit" depends="init">
+ <!-- pre-compile the aop classes -->
+ <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath"/>
+ <path id="aop.task.classpath">
+ <path refid="javassist.classpath"/>
+ <path refid="trove.classpath"/>
+ <path refid="jboss.aop.classpath"/>
+ <path refid="jboss.common.classpath"/>
+ </path>
+
+ <aopc compilerclasspathref="aop.task.classpath">
+ <classpath refid="thirdparty.classpath"/>
+ <classpath path="${build.classes}"/>
+ <src path="${build.classes}"/>
+ <include name="org/jboss/test/cache/test/standAloneAop/*AopTest*"/>
+ <aoppath path="${source.resources}/cache/standalone/META-INF/jboss-aop.xml"/>
+ </aopc>
+
+ <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.testlog}"/>
+ <junit dir="${module.output}"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ fork="${junit.fork}"
+ timeout="${junit.timeout}"
+ jvm="${junit.jvm}">
+
+ <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
+ <sysproperty key="build.testlog" value="${build.testlog}"/>
+ <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
+
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}/cache/standalone"/>
+ <path refid="tests.classpath"/>
+ </classpath>
+
+ <formatter type="xml" usefile="${junit.formatter.usefile}"/>
+
+ <batchtest todir="${build.reports}"
+ haltonerror="${junit.batchtest.haltonerror}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
+ fork="${junit.batchtest.fork}">
+
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/cache/test/standAloneAop/*AopTest.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+
<target name="tests-baseaop-unit" depends="init">
<mkdir dir="${build.reports}"/>
<mkdir dir="${build.testlog}"/>
|