|
From: Scott M S. <st...@us...> - 2002-05-29 07:08:00
|
User: starksm
Date: 02/05/29 00:07:59
Modified: . Tag: Branch_3_0 build.xml
Log:
Add builds of two ears that include different versions of the same
CMP2 ejb and local interface
Revision Changes Path
No revision
No revision
1.106.2.21 +74 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.106.2.20
retrieving revision 1.106.2.21
diff -u -r1.106.2.20 -r1.106.2.21
--- build.xml 28 May 2002 20:56:10 -0000 1.106.2.20
+++ build.xml 29 May 2002 07:07:59 -0000 1.106.2.21
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.106.2.20 2002/05/28 20:56:10 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.106.2.21 2002/05/29 07:07:59 starksm Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -914,6 +914,79 @@
<include name="META-INF/jboss.xml"/>
</fileset>
</jar>
+
+ <!-- Build version 1 of the cts-cmp2 ear -->
+ <mkdir dir="${build.gen-src}/org/jboss/test/cts/ejb" />
+ <mkdir dir="${build.gen-src}/org/jboss/test/cts/interfaces" />
+ <copy tofile="${build.gen-src}/org/jboss/test/cts/interfaces/CtsCmp2Local.java"
+ file="${source.java}/org/jboss/test/cts/interfaces/CtsCmp2Local_V1.txt"
+ overwrite="true" />
+ <copy tofile="${build.gen-src}/org/jboss/test/cts/ejb/CtsCmp2Bean.java"
+ file="${source.java}/org/jboss/test/cts/ejb/CtsCmp2Bean_V1.txt"
+ overwrite="true" />
+ <javac destdir="${build.classes}" optimize="${javac.optimize}"
+ target="${javac.target}" debug="${javac.debug}" >
+ <src path="${build.gen-src}"/>
+ <classpath refid="tests.classpath"/>
+ <include name="org/jboss/test/cts/**" />
+ </javac>
+ <jar jarfile="${build.lib}/cts-v1cmp.jar">
+ <fileset dir="${build.classes}">
+ <patternset refid="common.test.application.classes"/>
+ <include name="org/jboss/test/cts/ejb/CtsCmp2*.class"/>
+ <include name="org/jboss/test/cts/interfaces/CtsCmp2*"/>
+ </fileset>
+ <metainf dir="${build.resources}/cts/cmpv1">
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ <include name="jbosscmp-jdbc.xml"/>
+ </metainf>
+ </jar>
+ <ear earfile="${build.lib}/cts-v1cmp.ear"
+ appxml="${build.resources}/cts/cmpv1/application.xml">
+ <metainf dir="${build.resources}/cts/cmpv1">
+ <include name="jboss-app.xml" />
+ </metainf>
+ <fileset dir="${build.lib}">
+ <include name="cts-v1cmp.jar" />
+ </fileset>
+ </ear>
+
+ <!-- Build version 2 of the cts-cmp2 ear -->
+ <copy tofile="${build.gen-src}/org/jboss/test/cts/interfaces/CtsCmp2Local.java"
+ file="${source.java}/org/jboss/test/cts/interfaces/CtsCmp2Local_V2.txt"
+ overwrite="true" />
+ <copy tofile="${build.gen-src}/org/jboss/test/cts/ejb/CtsCmp2Bean.java"
+ file="${source.java}/org/jboss/test/cts/ejb/CtsCmp2Bean_V2.txt"
+ overwrite="true" />
+ <javac destdir="${build.classes}" optimize="${javac.optimize}"
+ target="${javac.target}" debug="${javac.debug}" >
+ <src path="${build.gen-src}"/>
+ <classpath refid="tests.classpath"/>
+ <include name="org/jboss/test/cts/**" />
+ </javac>
+
+ <jar jarfile="${build.lib}/cts-v2cmp.jar">
+ <fileset dir="${build.classes}">
+ <patternset refid="common.test.application.classes"/>
+ <include name="org/jboss/test/cts/ejb/CtsCmp2*.class"/>
+ <include name="org/jboss/test/cts/interfaces/CtsCmp2*"/>
+ </fileset>
+ <metainf dir="${build.resources}/cts/cmpv2">
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ <include name="jbosscmp-jdbc.xml"/>
+ </metainf>
+ </jar>
+ <ear earfile="${build.lib}/cts-v2cmp.ear"
+ appxml="${build.resources}/cts/cmpv2/application.xml">
+ <metainf dir="${build.resources}/cts/cmpv2">
+ <include name="jboss-app.xml" />
+ </metainf>
+ <fileset dir="${build.lib}">
+ <include name="cts-v2cmp.jar" />
+ </fileset>
+ </ear>
</target>
<!-- entityexc test -->
|