|
From: Heiko W.R. <pi...@us...> - 2003-07-26 15:10:53
|
User: pilhuhn
Date: 03/07/25 06:51:32
Modified: . Tag: Branch_3_2 build.xml
Log:
Unit tests to check the <dbindex/> and <post-table-create/> features.
CMP part only at the moment, no CMR
Revision Changes Path
No revision
No revision
1.165.2.86 +52 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.165.2.85
retrieving revision 1.165.2.86
diff -u -r1.165.2.85 -r1.165.2.86
--- build.xml 21 Jul 2003 23:58:37 -0000 1.165.2.85
+++ build.xml 25 Jul 2003 13:51:31 -0000 1.165.2.86
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.165.2.85 2003/07/21 23:58:37 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.165.2.86 2003/07/25 13:51:31 pilhuhn Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -703,6 +703,39 @@
destdir="${build.resources}/cmp2/fkupdates/META-INF"
validatexml="${validatexml}"/>
</ejbdoclet>
+
+ <!-- dbindex and post-table-create tests -->
+ <mkdir dir="${build.resources}/cmp2/idxandusersql/META-INF"/>
+ <ejbdoclet destdir="${build.gen-src}"
+ ejbspec="2.0"
+ excludedtags="@version,@author"
+ mergedir="${source.etc}/cmp2/idxandusersql">
+ <fileset dir="${source.java}">
+ <include name="org/jboss/test/cmp2/idxandusersql/ejb/*Bean.java"/>
+ </fileset>
+ <remoteinterface/>
+ <localinterface/>
+ <homeinterface/>
+ <localhomeinterface/>
+ <entitypk/>
+ <utilobject cacheHomes="true" includeGUID="false"/>
+ <entitycmp/>
+ <session/>
+ <!-- Don't build the DD, haswe have our own one
+ prepared. Can change in the future if the
+ jboss-xdoclet supports dbindex etc.
+ <deploymentdescriptor
+ destdir="${build.resources}/cmp2/idxandusersql/META-INF"
+ validatexml="${validatexml}"/>
+ <jboss
+ version="3.2"
+ xmlencoding="UTF-8"
+ destdir="${build.resources}/cmp2/idxandusersql/META-INF"
+ validatexml="${validatexml}"/>
+ -->
+ </ejbdoclet>
+
+
<!-- cmp2 relationship stress tests -->
<mkdir dir="${build.resources}/cmp2/cmrstress/META-INF"/>
@@ -3526,6 +3559,24 @@
<zipfileset src="${junit.junit.lib}/junit.jar"
includes="junit/**/*.*"/>
</jar>
+
+ <jar jarfile="${build.lib}/cmp2-idxandusersql.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/cmp2/idxandusersql/**"/>
+ </fileset>
+ <!--
+ <fileset dir="${build.resources}/cmp2/idxandusersql">
+ <include name="**/*.*"/>
+ </fileset>
+ -->
+ <metainf dir="${source.java}/org/jboss/test/cmp2/idxandusersql/META-INF"/>
+
+
+ <zipfileset src="${junitejb.junitejb.lib}/junitejb.jar"
+ includes="net/**/*.*"/>
+ <zipfileset src="${junit.junit.lib}/junit.jar"
+ includes="junit/**/*.*"/>
+ </jar>
</target>
<!-- exception tests -->
|