|
From: thomas d. <tdi...@us...> - 2003-11-06 00:18:20
|
User: tdiesler
Date: 03/11/05 16:18:19
Modified: . build.xml
Log:
add J2EE1.4 compatibility test
Revision Changes Path
1.303 +101 -13 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.302
retrieving revision 1.303
diff -u -r1.302 -r1.303
--- build.xml 5 Nov 2003 20:13:32 -0000 1.302
+++ build.xml 6 Nov 2003 00:18:19 -0000 1.303
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.302 2003/11/05 20:13:32 loubyansky Exp $ -->
+<!-- $Id: build.xml,v 1.303 2003/11/06 00:18:19 tdiesler Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -106,8 +106,11 @@
<!-- needed for proxy tests -->
<path refid="apache.bcel.classpath"/>
- <!-- needed for security login module tests -->
- <path refid="hsqldb.hsqldb.classpath"/>
+ <!-- needed for security login module tests -->
+ <path refid="hsqldb.hsqldb.classpath"/>
+
+ <!-- needed for webservice tests -->
+ <path refid="apache.axis.classpath"/>
</path>
<!-- ======= -->
@@ -1088,6 +1091,7 @@
_jars-exception,
_jars-cmp2,
_jars-jsr77,
+ _jars-webservice,
_jars-foedeployer,
_jars-jbossmx,
_jars-aop,
@@ -3263,17 +3267,50 @@
</jar>
</target>
- <!-- jsr77 test -->
- <target name="_jars-jsr77">
- <mkdir dir="${build.lib}"/>
+ <!-- jsr77 test -->
+ <target name="_jars-jsr77">
+ <mkdir dir="${build.lib}"/>
+
+ <!-- build jsr77-test.jar -->
+ <jar jarfile="${build.lib}/jsr77-test.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/management/**"/>
+ </fileset>
+ </jar>
+ </target>
- <!-- build jsr77-test.jar -->
- <jar jarfile="${build.lib}/jsr77-test.jar">
- <fileset dir="${build.classes}">
- <include name="org/jboss/test/management/**"/>
- </fileset>
- </jar>
- </target>
+ <!-- webservice test -->
+ <target name="_jars-webservice">
+ <mkdir dir="${build.lib}"/>
+
+ <!-- build webservice-hello-ejb.jar -->
+ <jar jarfile="${build.lib}/webservice-hello-ejb.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/webservice/hello/Hello.class"/>
+ <include name="org/jboss/test/webservice/hello/HelloBean.class"/>
+ <include name="org/jboss/test/webservice/hello/HelloHome.class"/>
+ <include name="org/jboss/test/webservice/hello/HelloWs.class"/>
+ </fileset>
+ <fileset dir="${build.resources}/webservice/hello">
+ <include name="META-INF/ejb-jar.xml"/>
+ <include name="META-INF/Hello.wsdl"/>
+ <include name="META-INF/HelloMapping.xml"/>
+ <include name="META-INF/webservices.xml"/>
+ </fileset>
+ <fileset dir="${build.resources}/webservice/hello">
+ <include name="WEB-INF/webservices.xml"/>
+ </fileset>
+ </jar>
+
+ <!-- build webservice-hello-ejb.ear -->
+ <ear earfile="${build.lib}/webservice-hello-ejb.ear"
+ appxml="${build.resources}/webservice/hello/META-INF/server-ejb-application.xml">
+ <fileset dir="${build.lib}">
+ <include name="webservice-hello-ejb.jar" />
+ </fileset>
+ </ear>
+
+ </target>
<!-- foe-deployer test -->
<target name="_jars-foedeployer">
@@ -4311,6 +4348,7 @@
tests-client-stress,
tests-security-basic-stress,
tests-jsr77-unit,
+ tests-webservice,
tests-util-unit,
tests-jbossmx-compliance,
tests-jbossmx-implementation,
@@ -4326,6 +4364,7 @@
tests-client-unit,
tests-security-basic-unit,
tests-jsr77-unit,
+ tests-webservice,
tests-util-unit,
tests-jbossmx-compliance,
tests-jbossmx-implementation,
@@ -4863,6 +4902,55 @@
</batchtest>
</junit>
</target>
+
+ <!--
+ | Standard webservice tests that should run successfully against a default
+ | JBoss server distribution build.
+ -->
+
+ <target name="tests-webservice" depends="maybejars">
+ <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.testlog}"/>
+ <junit dir="${module.output}"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ fork="${junit.fork}"
+ timeout="${junit.timeout}"
+ jvm="${junit.jvm}">
+
+ <jvmarg value="${junit.jvm.options}"/>
+ <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
+ <sysproperty key="jbosstest.secure" value="true"/>
+
+ <jvmarg value="-Djava.security.manager"/>
+ <sysproperty key="java.security.policy"
+ value="${build.resources}/security/tst.policy"/>
+ <sysproperty key="java.security.auth.login.config"
+ value="${build.resources}/security/auth.conf"/>
+ <sysproperty key="build.testlog" value="${build.testlog}"/>
+ <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
+
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}/security"/>
+ <pathelement location="${build.resources}"/>
+ <path refid="tests.classpath"/>
+ </classpath>
+
+ <formatter type="xml" usefile="${junit.formatter.usefile}"/>
+
+ <batchtest todir="${build.reports}"
+ haltonerror="${junit.batchtest.haltonerror}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
+ fork="${junit.batchtest.fork}">
+
+ <fileset dir="${build.classes}">
+ <include name="**/test/webservice/**/*TestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
<!--
| Standard marathon tests that should run successfully against a default
|