|
From: Ben W. <bw...@us...> - 2004-04-20 02:43:31
|
User: bwang00
Date: 04/04/19 19:43:24
Modified: . build.xml
Log:
Updated with TreeCacheAop Mbean testing
Revision Changes Path
1.358 +43 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -r1.357 -r1.358
--- build.xml 14 Apr 2004 18:13:42 -0000 1.357
+++ build.xml 20 Apr 2004 02:43:23 -0000 1.358
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.357 2004/04/14 18:13:42 ejort Exp $ -->
+<!-- $Id: build.xml,v 1.358 2004/04/20 02:43:23 bwang00 Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -1729,11 +1729,29 @@
</fileset>
</copy>
+ <!-- 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/**"/>
+ <aoppath path="${source.resources}/cache/standalone/META-INF/jboss-aop.xml"/>
+ </aopc>
+
<!-- build cachetest.jar -->
<jar jarfile="${build.lib}/cachetest.jar"
manifest="${build.resources}/cache/manifest.mf">
<fileset dir="${build.classes}">
<include name="org/jboss/test/cache/bean/*.class"/>
+ <include name="org/jboss/test/cache/test/standAloneAop/*.class"/>
</fileset>
<metainf dir="${build.resources}/cache/META-INF/">
<include name="jboss.xml"/>
@@ -1741,6 +1759,7 @@
</metainf>
</jar>
+
<!-- build cachetest.sar -->
<!--
-->
@@ -1751,18 +1770,41 @@
<fileset dir="${jboss.cache.lib}">
<include name="jboss-cache.jar"/>
</fileset>
+ <fileset dir="${jgroups.jgroups.lib}">
+ <include name="jgroups.jar"/>
+ </fileset>
+ <fileset dir="${build.resources}/cache">
+ <include name="**/jboss-service.xml"/>
+ </fileset>
+ </jar>
+
+ <!-- build cacheAoptest.sar -->
+ <!--
+ -->
+ <copy file="${build.resources}/cache/META-INF/tree-aop-service.xml"
+ tofile="${build.resources}/cache/META-INF/jboss-service.xml"/>
+
+ <jar jarfile="${build.lib}/cacheAoptest.sar">
+ <fileset dir="${jboss.cache.lib}">
+ <include name="jboss-cache.jar"/>
+ </fileset>
+ <fileset dir="${jgroups.jgroups.lib}">
+ <include name="jgroups.jar"/>
+ </fileset>
<fileset dir="${build.resources}/cache">
<include name="**/jboss-service.xml"/>
</fileset>
</jar>
<!-- build cachetest.aop -->
+ <!--
<jar jarfile="${build.lib}/cachetest.aop">
<fileset dir="${build.classes}">
<include name="org/jboss/test/cache/bean/aop/*.class"/>
</fileset>
<metainf dir="${build.resources}/cache/aop/META-INF/"/>
</jar>
+ -->
</target>
|