|
From: Julien V. <coo...@us...> - 2002-07-01 02:34:49
|
User: cooperfbi
Date: 02/06/30 19:34:49
Modified: . Tag: Branch_3_0 build.xml
Log:
Test case when an ejb deployment references a jar library through classpath manifest in an ear deployment
Revision Changes Path
No revision
No revision
1.106.2.30 +45 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.106.2.29
retrieving revision 1.106.2.30
diff -u -r1.106.2.29 -r1.106.2.30
--- build.xml 29 Jun 2002 11:22:12 -0000 1.106.2.29
+++ build.xml 1 Jul 2002 02:34:48 -0000 1.106.2.30
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.106.2.29 2002/06/29 11:22:12 d_jencks Exp $ -->
+<!-- $Id: build.xml,v 1.106.2.30 2002/07/01 02:34:48 cooperfbi Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -604,6 +604,25 @@
destdir="${build.resources}/jca/bank/META-INF"
mergedir="${source.resources}/jca/bank/"/>
</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">
@@ -1568,6 +1587,31 @@
<include name="sessionb.jar"/>
</fileset>
<fileset dir="${build.resources}/jmx/eardeployment/">
+ <include name="META-INF/application.xml"/>
+ </fileset>
+ </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>
+ <jar jarfile="${build.lib}/cpmanifest.ear">
+ <fileset dir="${build.lib}">
+ <include name="abstract.jar"/>
+ <include name="concrete.jar"/>
+ </fileset>
+ <fileset dir="${build.resources}/jmx/loading/cpmanifest/">
<include name="META-INF/application.xml"/>
</fileset>
</jar>
|