[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jbosstest build.xml
From: Scott M Stark <starksm () users ! sourceforge ! net>
Date: 2002-07-30 7:08:15
[Download RAW message or body]
User: starksm
Date: 02/07/30 00:08:15
Modified: . build.xml
Log:
Add tests for problem deployments
Revision Changes Path
1.161 +83 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -r1.160 -r1.161
--- build.xml 27 Jul 2002 00:18:20 -0000 1.160
+++ build.xml 30 Jul 2002 07:08:14 -0000 1.161
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.160 2002/07/27 00:18:20 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.161 2002/07/30 07:08:14 starksm Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -768,6 +768,24 @@
mergedir="${source.resources}/foedeployer/"/>
<!-- No JBoss DD generation here because that is what we can to use FoeDeployer for -->
</xdoclet>
+
+ <!-- cpmanifest test -->
+ <mkdir dir="${build.resources}/jmx/loading/cpmanifest/META-INF"/>
+ <xdoclet destdir="${build.gen-src}"
+ classpath="${xdoclet.task.classpath}"
+ ejbspec="2.0"
+ excludedtags="@version,@author">
+ <fileset dir="${source.java}">
+ <include name="org/jboss/test/jmx/loading/ConcreteBean.java"/>
+ </fileset>
+ <packageSubstitution packages="ejb" substituteWith="interfaces"/>
+ <remoteinterface/>
+ <homeinterface/>
+ <!--session/-->
+ <deploymentdescriptor xmlencoding ="UTF-8"
+ destdir="${build.resources}/jmx/loading/cpmanifest/META-INF"/>
+ </xdoclet>
+
</target>
<target name="compile-mbean-sources" depends="init">
@@ -1612,6 +1630,7 @@
<!-- jmx test -->
<target name="_jars-jmx">
<mkdir dir="${build.lib}"/>
+ <property name="jmx-rsrc" value="${build.resources}/jmx" />
<!-- build jmxtest.jar -->
<jar jarfile="${build.lib}/jmxtest.jar"
@@ -1837,6 +1856,53 @@
<unjar src="${build.lib}/sessionb.jar"
dest="${build.lib}/unpacked/eardeployment.ear/sessionb.jar" />
+ <!-- cpmanifest test -->
+ <jar jarfile="${build.lib}/abstract.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/jmx/loading/Abstract*"/>
+ </fileset>
+ </jar>
+ <jar jarfile="${build.lib}/concrete.jar"
+ manifest="${build.resources}/jmx/loading/cpmanifest/META-INF/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/jmx/loading/Concrete*"/>
+ </fileset>
+ <fileset dir="${build.resources}/jmx/loading/cpmanifest/">
+ <include name="META-INF/ejb-jar.xml"/>
+ </fileset>
+ </jar>
+ <ear earfile="${build.lib}/cpmanifest.ear"
+ appxml="${jmx-rsrc}/loading/cpmanifest/META-INF/application.xml">
+ <fileset dir="${build.lib}">
+ <include name="abstract.jar"/>
+ <include name="concrete.jar"/>
+ </fileset>
+ </ear>
+
+ <!-- cpcircular-manifest test -->
+ <jar jarfile="${build.lib}/abstract2.jar"
+ manifest="${jmx-rsrc}/loading/cpmanifest/META-INF/a2cmanifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/jmx/loading/Abstract*"/>
+ </fileset>
+ </jar>
+ <jar jarfile="${build.lib}/concrete2.jar"
+ manifest="${jmx-rsrc}/loading/cpmanifest/META-INF/c2amanifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/jmx/loading/Concrete*"/>
+ </fileset>
+ <fileset dir="${build.resources}/jmx/loading/cpmanifest/">
+ <include name="META-INF/ejb-jar.xml"/>
+ </fileset>
+ </jar>
+ <ear earfile="${build.lib}/cpcircular-manifest.ear"
+ appxml="${jmx-rsrc}/loading/cpmanifest/META-INF/application-circular.xml">
+ <fileset dir="${build.lib}">
+ <include name="abstract2.jar"/>
+ <include name="concrete2.jar"/>
+ </fileset>
+ </ear>
+
<!-- jar in sar with jsr-77 mbeans -->
<jar jarfile="${build.lib}/jarinsar.jar">
<fileset dir="${build.classes}">
@@ -1895,6 +1961,22 @@
<fileset dir="${build.resources}/jmx/xmbean">
<include name="META-INF/**/*.xml"/>
</fileset>
+ </jar>
+
+ <!-- UndeployBrokenPackageUnitTestCase jars -->
+ <jar jarfile="${build.lib}/ejbredeploy-bad.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/jmx/ejb/EntityABean.class"/>
+ <include name="org/jboss/test/jmx/interfaces/EntityA*.class"/>
+ </fileset>
+ <metainf dir="${source.resources}/jmx/undeploy/bad-inf" />
+ </jar>
+ <jar jarfile="${build.lib}/ejbredeploy-good.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/jmx/ejb/EntityABean.class"/>
+ <include name="org/jboss/test/jmx/interfaces/EntityA*.class"/>
+ </fileset>
+ <metainf dir="${source.resources}/jmx/undeploy/good-inf" />
</jar>
</target>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic