|
From: Steve E. <ste...@us...> - 2004-07-29 05:24:28
|
User: steveebersole
Date: 04/07/28 22:24:22
Modified: . Tag: Branch_3_2 build.xml
Log:
added stuff for testing hibernate module
Revision Changes Path
No revision
No revision
1.165.2.157 +42 -2 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.165.2.156
retrieving revision 1.165.2.157
diff -u -r1.165.2.156 -r1.165.2.157
--- build.xml 27 Jul 2004 21:31:47 -0000 1.165.2.156
+++ build.xml 29 Jul 2004 05:24:20 -0000 1.165.2.157
@@ -15,7 +15,7 @@
<!-- -->
<!-- ============================================================ -->
-<!-- $Id: build.xml,v 1.165.2.156 2004/07/27 21:31:47 tdiesler Exp $ -->
+<!-- $Id: build.xml,v 1.165.2.157 2004/07/29 05:24:20 steveebersole Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -107,6 +107,11 @@
<path refid="apache.bcel.classpath"/>
<!-- needed for security login module tests -->
<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>
<!-- ======= -->
@@ -201,6 +206,7 @@
<pathelement path="${project.tools}/lib/ant.jar"/>
<pathelement path="${project.tools}/lib/optional.jar"/>
<path refid="jboss.jmx.classpath"/>
+ <path refid="jboss.hibernate.classpath"/>
<path refid="thirdparty.classpath"/>
</path>
@@ -1185,7 +1191,8 @@
_jars-classloader,
_jars-tm,
_jars-util,
- _jars-webservice
+ _jars-webservice,
+ _jars-hibernate
">
</target>
@@ -4787,6 +4794,39 @@
</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 -->
<!-- ================================================================== -->
|