User: ejort
Date: 02/04/20 04:37:49
Modified: . build.xml
Log:
Improved Timer and Monitor Services
Revision Changes Path
1.36 +55 -1 jmx/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jmx/build.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- build.xml 14 Apr 2002 15:21:05 -0000 1.35
+++ build.xml 20 Apr 2002 11:37:48 -0000 1.36
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.35 2002/04/14 15:21:05 ejort Exp $ -->
+<!-- $Id: build.xml,v 1.36 2002/04/20 11:37:48 ejort Exp $ -->
<project default="main" name="JBoss/JMX">
@@ -300,6 +300,11 @@
<exclude name="javax/management/timer/**"/>
<exclude name="test/**"/>
+ <!-- Exclude service utility classes -->
+ <exclude name="org/jboss/mx/util/RunnableScheduler.class"/>
+ <exclude name="org/jboss/mx/util/SchedulableRunnable.class"/>
+ <exclude name="org/jboss/mx/util/ThreadPool*"/>
+
<!-- Exclude all the query stuff except QueryExp -->
<exclude name="javax/management/AndQueryExp.class"/>
<exclude name="javax/management/AnySubStringQueryExp.class"/>
@@ -338,6 +343,11 @@
<include name="javax/management/relation/**"/>
<include name="javax/management/timer/**"/>
+ <!-- Include service utility classes -->
+ <include name="org/jboss/mx/util/RunnableScheduler.class"/>
+ <include name="org/jboss/mx/util/SchedulableRunnable.class"/>
+ <include name="org/jboss/mx/util/ThreadPool*"/>
+
<!-- Include all the query stuff except QueryExp -->
<include name="javax/management/AndQueryExp.class"/>
<include name="javax/management/AnySubStringQueryExp.class"/>
@@ -770,6 +780,50 @@
<java classname="test.implementation.ImplementationSUITE">
<classpath refid="implementation.JBossMX.classpath"/>
</java>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Stress - tests under stress conditions -->
+ <!-- ================================================================== -->
+
+ <!--
+ | There are three targets, one for the RI, one for JBossMX and one for both.
+ | WARNING, everthing is compiled over JBossMX
+ -->
+
+ <!-- Reference Implementation stress -->
+ <target name="test-stress-RI" depends="jars"
+ description="Run stress test against RI">
+
+ <path id="stress.RI.classpath">
+ <pathelement path="${project.thirdparty}/sun/jmx/lib/jmxri.jar"/>
+ <pathelement path="${build.lib}/jboss-jmx-testsuite.jar"/>
+ <path refid="thirdparty.classpath"/>
+ </path>
+
+ <java classname="test.stress.StressSUITE">
+ <classpath refid="stress.RI.classpath"/>
+ </java>
+ </target>
+
+ <!-- JBossMX stress -->
+ <target name="test-stress-JBossMX" depends="jars"
+ description="Tests JBossMX under stress">
+
+ <path id="stress.JBossMX.classpath">
+ <pathelement path="${build.lib}/jboss-jmx.jar"/>
+ <pathelement path="${build.lib}/jboss-jmx-testsuite.jar"/>
+ <path refid="thirdparty.classpath"/>
+ </path>
+
+ <java classname="test.stress.StressSUITE">
+ <classpath refid="stress.JBossMX.classpath"/>
+ </java>
+ </target>
+
+ <!-- Run both stress tests -->
+ <target name="test-stress" depends="test-stress-RI, test-stress-JBossMX"
+ description="Run stress test against RI and JBossMX">
</target>
</project>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development