User: juhalindfors
Date: 02/03/13 04:12:05
Modified: . Tag: BranchMX_1_0 build.xml
Log:
build separate test jars
Revision Changes Path
No revision
No revision
1.27.2.1 +28 -9 jmx/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jmx/build.xml,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -u -r1.27 -r1.27.2.1
--- build.xml 8 Mar 2002 15:40:58 -0000 1.27
+++ build.xml 13 Mar 2002 12:12:05 -0000 1.27.2.1
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.27 2002/03/08 15:40:58 juhalindfors Exp $ -->
+<!-- $Id: build.xml,v 1.27.2.1 2002/03/13 12:12:05 juhalindfors Exp $ -->
<project default="main" name="JBoss/JMX">
@@ -152,7 +152,8 @@
<!-- Where source files live -->
<property name="source.java" value="${module.source}/main"/>
-
+ <property name="source.resource" value="${module.source}/resources"/>
+
<!-- Where build generated files will go -->
<property name="build.reports" value="${module.output}/reports"/>
<property name="build.classes" value="${module.output}/classes"/>
@@ -280,7 +281,7 @@
depends="compile">
<mkdir dir="${build.lib}"/>
-
+
<!-- Build the jboss-jmx.jar -->
<jar jarfile="${build.lib}/jboss-jmx.jar">
<fileset dir="${build.classes}">
@@ -293,12 +294,36 @@
<jar jarfile="${build.lib}/jboss-jmx-testsuite.jar">
<fileset dir="${build.classes}">
<include name="test/**"/>
+ <exclude name="test/compliance/loading/support/*.class"/>
</fileset>
<!--wait for xdoclet 1.1.2
<fileset dir="${build.gen-src}">
<include name="test/implementation/modelmbean/support/User.xml"/>
</fileset-->
</jar>
+
+
+ <mkdir dir="${build.etc}/test/compliance/loading"/>
+
+ <jar jarfile="${build.etc}/test/compliance/loading/MyMBeans.jar">
+ <fileset dir="${build.classes}">
+ <include name="test/compliance/loading/support/Trivial*.class"/>
+ <include name="test/compliance/loading/support/Another*.class"/>
+ </fileset>
+ </jar>
+
+ <jar jarfile="${build.etc}/test/compliance/loading/MoreMBeans.jar">
+ <fileset dir="${build.classes}">
+ <include name="test/compliance/loading/support/AClass.class"/>
+ </fileset>
+ </jar>
+
+ <copy todir="${build.etc}">
+ <fileset dir="${source.resource}">
+ <include name="test/compliance/loading/*.mlet"/>
+ </fileset>
+ </copy>
+
</target>
@@ -547,9 +572,6 @@
<path id="compliance.JBossMX.classpath">
<pathelement path="${build.lib}/jboss-jmx.jar"/>
<pathelement path="${build.lib}/jboss-jmx-testsuite.jar"/>
-
- <pathelement path="${build.classes}"/>
-
<path refid="thirdparty.classpath"/>
</path>
@@ -614,9 +636,6 @@
<path id="performance.JBossMX.classpath">
<pathelement path="${build.lib}/jboss-jmx.jar"/>
<pathelement path="${build.lib}/jboss-jmx-testsuite.jar"/>
-
- <pathelement path="${build.classes}"/>
-
<path refid="thirdparty.classpath"/>
</path>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development