|
From: Scott M S. <st...@us...> - 2002-08-08 00:52:00
|
User: starksm
Date: 02/08/07 17:52:00
Modified: . Tag: Branch_3_2 build.xml
Log:
Add cts-v1cmp-sar.ear and cts-v2cmp-sar.ear targets
Revision Changes Path
No revision
No revision
1.165.2.1 +59 -6 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.165
retrieving revision 1.165.2.1
diff -u -r1.165 -r1.165.2.1
--- build.xml 2 Aug 2002 19:33:59 -0000 1.165
+++ build.xml 8 Aug 2002 00:51:59 -0000 1.165.2.1
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.165 2002/08/02 19:33:59 loubyansky Exp $ -->
+<!-- $Id: build.xml,v 1.165.2.1 2002/08/08 00:51:59 starksm Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -1188,15 +1188,29 @@
<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"/>
+ 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" />
+ file="${source.java}/org/jboss/test/cts/ejb/CtsCmp2Bean_V1.txt"
+ overwrite="true" />
+ <copy tofile="${build.gen-src}/org/jboss/test/cts/service/CtsCmpService.java"
+ file="${source.java}/org/jboss/test/cts/service/CtsCmpService_V1.txt"
+ overwrite="true" />
<javac destdir="${build.classes}" optimize="${javac.optimize}"
target="${javac.target}" debug="${javac.debug}" >
<src path="${build.gen-src}"/>
+ <src path="${source.java}"/>
<classpath refid="tests.classpath"/>
<include name="org/jboss/test/cts/**" />
</javac>
+ <jar jarfile="${build.lib}/cts-v1cmp.sar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/cts/service/CtsCmpService*.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/cts/cmpv1">
+ <include name="jboss-service.xml"/>
+ </metainf>
+ </jar>
<jar jarfile="${build.lib}/cts-v1cmp.jar">
<fileset dir="${build.classes}">
<patternset refid="common.test.application.classes"/>
@@ -1218,24 +1232,50 @@
<include name="cts-v1cmp.jar" />
</fileset>
</ear>
+ <move file="${build.resources}/cts/cmpv1/jboss-app-sar.xml"
+ tofile="${build.resources}/cts/cmpv1/jboss-app.xml" />
+ <ear earfile="${build.lib}/cts-v1cmp-sar.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" />
+ <include name="cts-v1cmp.sar" />
+ </fileset>
+ </ear>
<!-- Build version 2 of the cts-cmp2 ear -->
<delete dir="${build.classes}/org/jboss/test/cts">
<include name="**/CtsCmp2Local.class" />
<include name="**/CtsCmp2Bean.class" />
+ <include name="**/CtsCmpService*.class" />
</delete>
<delete dir="${build.gen-src}/org/jboss/test/cts" />
<copy tofile="${build.gen-src}/org/jboss/test/cts/interfaces/CtsCmp2Local.java"
- file="${source.java}/org/jboss/test/cts/interfaces/CtsCmp2Local_V2.txt" />
+ 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" />
+ file="${source.java}/org/jboss/test/cts/ejb/CtsCmp2Bean_V2.txt"
+ overwrite="true" />
+ <copy tofile="${build.gen-src}/org/jboss/test/cts/service/CtsCmpService.java"
+ file="${source.java}/org/jboss/test/cts/service/CtsCmpService_V2.txt"
+ overwrite="true" />
<javac destdir="${build.classes}" optimize="${javac.optimize}"
target="${javac.target}" debug="${javac.debug}" >
<src path="${build.gen-src}"/>
+ <src path="${source.java}"/>
<classpath refid="tests.classpath"/>
<include name="org/jboss/test/cts/**" />
</javac>
-
+ <jar jarfile="${build.lib}/cts-v2cmp.sar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/cts/service/CtsCmpService*.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/cts/cmpv2">
+ <include name="jboss-service.xml"/>
+ </metainf>
+ </jar>
<jar jarfile="${build.lib}/cts-v2cmp.jar">
<fileset dir="${build.classes}">
<patternset refid="common.test.application.classes"/>
@@ -1257,6 +1297,19 @@
<include name="cts-v2cmp.jar" />
</fileset>
</ear>
+ <move file="${build.resources}/cts/cmpv2/jboss-app-sar.xml"
+ tofile="${build.resources}/cts/cmpv2/jboss-app.xml" />
+ <ear earfile="${build.lib}/cts-v2cmp-sar.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" />
+ <include name="cts-v2cmp.sar" />
+ </fileset>
+ </ear>
+
</target>
<!-- entityexc test -->
|