|
From: Steve E. <ste...@us...> - 2004-08-04 17:21:48
|
User: steveebersole
Date: 04/08/04 10:21:41
Modified: . build.xml
Log:
merging hibernate module onto head (4.0)
Revision Changes Path
1.388 +46 -5 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -r1.387 -r1.388
--- build.xml 4 Aug 2004 09:14:24 -0000 1.387
+++ build.xml 4 Aug 2004 17:21:40 -0000 1.388
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.387 2004/08/04 09:14:24 tdiesler Exp $ -->
+<!-- $Id: build.xml,v 1.388 2004/08/04 17:21:40 steveebersole Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -110,7 +110,12 @@
<!-- needed for proxy tests -->
<path refid="apache.bcel.classpath"/>
<!-- needed for security login module tests -->
- <path refid="hsqldb.hsqldb.classpath"/>
+ <path refid="hsqldb.hsqldb.classpath"/>
+
+ <!-- Need hibernate jar for hibernate-based tests -->
+ <path refid="hibernate2.classpath"/>
+ <path refid="odmg.classpath"/>
+ <path refid="cglib.classpath"/>
</path>
<!-- ======= -->
@@ -135,6 +140,7 @@
<path refid="jboss.cache.classpath"/>
<path refid="jboss.cluster.classpath"/>
<path refid="jboss.common.classpath"/>
+ <path refid="jboss.hibernate.classpath"/>
<path refid="jboss.iiop.classpath"/>
<path refid="jboss.internal-server.classpath"/>
<path refid="jboss.j2ee.classpath"/>
@@ -150,7 +156,7 @@
<path refid="jboss.system.classpath"/>
<path refid="jboss.transaction.classpath"/>
<path refid="jboss.varia.classpath"/>
- <path refid="jboss.webservice.classpath"/>
+ <path refid="jboss.webservice.classpath"/>
</path>
<!-- ===== -->
@@ -1431,6 +1437,7 @@
_jars-hello,
_jars-helloiiop,
_jars-hellojrmpiiop,
+ _jars-hibernate,
_jars-idgen,
_jars-iiop,
_jars-invokers,
@@ -1456,7 +1463,7 @@
_jars-security,
_jars-testbean,
_jars-testbeancluster,
- _jars-httpsessionreplication,
+ _jars-httpsessionreplication,
_jars-threading,
_jars-timer,
_jars-tm,
@@ -5558,7 +5565,41 @@
<include name="**/*.xml"/>
</fileset>
</jar>
- </target>
+ </target>
+
+ <target name="_jars-hibernate">
+ <mkdir dir="${build.lib}"/>
+
+ <jar basedir="${build.classes}" destfile="${build.lib}/hib-test.har">
+ <metainf dir="${source.resources}/hibernate/mappings">
+ <include name="*"/>
+ </metainf>
+ <metainf dir="${source.resources}/hibernate/har-deployment">
+ <include name="*"/>
+ </metainf>
+ <include name="org/jboss/test/hibernate/model/*"/>
+ </jar>
+
+ <jar basedir="${build.classes}" destfile="${build.lib}/hib-test-ejb.jar">
+ <metainf dir="${source.resources}/hibernate/ejb/META-INF">
+ <include name="*"/>
+ </metainf>
+ <include name="org/jboss/test/hibernate/ejb/**"/>
+ <include name="org/jboss/test/hibernate/ProfileService.class"/>
+ </jar>
+
+ <ear earfile="${build.lib}/hib-test.ear"
+ appxml="${source.resources}/hibernate/ear/application.xml">
+ <metainf dir="${source.resources}/hibernate/ear">
+ <include name="jboss-app.xml" />
+ </metainf>
+ <fileset dir="${build.lib}">
+ <include name="hib-test-ejb.jar" />
+ <include name="hib-test.har" />
+ </fileset>
+ </ear>
+ </target>
+
<!-- ================================================================== -->
<!-- Install & Release -->
|