|
From: Thomas D. <tdi...@us...> - 2004-07-26 14:06:03
|
User: tdiesler
Date: 04/07/26 07:05:41
Modified: . build.xml
Log:
ws4ee marshalltest
Revision Changes Path
1.378 +129 -31 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.377
retrieving revision 1.378
diff -u -r1.377 -r1.378
--- build.xml 24 Jul 2004 23:45:58 -0000 1.377
+++ build.xml 26 Jul 2004 14:05:41 -0000 1.378
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.377 2004/07/24 23:45:58 tdiesler Exp $ -->
+<!-- $Id: build.xml,v 1.378 2004/07/26 14:05:41 tdiesler Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -926,9 +926,9 @@
destdir="${build.resources}/entity/entity/META-INF"/>
</ejbdoclet>
- <!-- JBoss.NET services generation -->
+ <!-- JBoss.NET services generation
- <!-- call wsdl4j emitter for AddressBook interfaces and stubs -->
+ <!- - call wsdl4j emitter for AddressBook interfaces and stubs - ->
<java dir="${build.gen-src}" fork="yes" failOnError="true" className="org.apache.axis.wsdl.WSDL2Java">
<arg value="-s"/>
<arg value="-d"/>
@@ -938,10 +938,10 @@
<classpath refid="thirdparty.classpath"/>
</java>
- <!-- Delete the service impl skeleton as we have an impl already -->
+ <!- - Delete the service impl skeleton as we have an impl already - ->
<delete file="${build.gen-src}/org/jboss/test/webservice/wsr/AddressBookSOAPBindingImpl.java"/>
- <!-- call wsdl4j emitter for Bablefish stubs-->
+ <!- - call wsdl4j emitter for Bablefish stubs- ->
<java dir="${build.gen-src}" fork="yes" failOnError="true" className="org.apache.axis.wsdl.WSDL2Java">
<arg value="-d"/>
<arg value="Session"/>
@@ -950,7 +950,7 @@
<classpath refid="thirdparty.classpath"/>
</java>
- <!-- call wsdl4j emitter for Google stubs -->
+ <!- - call wsdl4j emitter for Google stubs - ->
<java dir="${build.gen-src}" fork="yes" failOnError="true" className="org.apache.axis.wsdl.WSDL2Java">
<arg value="-d"/>
<arg value="Session"/>
@@ -959,7 +959,7 @@
<classpath refid="thirdparty.classpath"/>
</java>
- <!-- these taskdefs allow to call jboss.net specific xdoclet functionality -
+ <!- - these taskdefs allow to call jboss.net specific xdoclet functionality
<taskdef name="webserviceejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="xdoclet.task.classpath"/>
<taskdef name="webservicejmxdoclet" classname="xdoclet.modules.jmx.JMXDocletTask"
@@ -1319,13 +1319,24 @@
<!-- Compile wsdl files -->
<target name="compile-wsdl" depends="init">
+ <!-- Note, we use the latest axis tools -->
+ <path id="java2wsdl.classpath">
+ <path refid="apache.axis.classpath"/>
+ <path refid="apache.commons.classpath"/>
+ <path refid="ibm.wsdl4j.classpath"/>
+ <path refid="sun.jaf.classpath"/>
+ <path refid="sun.javamail.classpath"/>
+ <path refid="jboss.common.classpath"/>
+ <path refid="jboss.j2ee.classpath"/>
+ </path>
+
<!-- ws4ee/marshalltest -->
- <mkdir dir="${build.resources}/ws4ee/marshalltest/META-INF/wsdl"/>
+ <mkdir dir="${build.resources}/ws4ee/marshalltest-rpcenc/META-INF/wsdl"/>
<java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes">
- <classpath refid="tests.classpath"/>
+ <classpath refid="java2wsdl.classpath"/>
<classpath path="${build.classes}"/>
<arg value="-lhttp://dummy-host:8080/dummy-path"/>
- <arg value="-o${build.resources}/ws4ee/marshalltest/META-INF/wsdl/rpc-encoded.wsdl"/>
+ <arg value="-o${build.resources}/ws4ee/marshalltest-rpcenc/META-INF/wsdl/rpc-encoded.wsdl"/>
<arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
<arg value="-SMarshallTestService"/>
<arg value="-sMarshallTestPort"/>
@@ -1333,11 +1344,12 @@
<arg value="-uENCODED"/>
<arg value="org.jboss.test.ws4ee.marshalltest.MarshallTestEndpoint"/>
</java>
+ <mkdir dir="${build.resources}/ws4ee/marshalltest-rpclit/META-INF/wsdl"/>
<java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes">
- <classpath refid="tests.classpath"/>
+ <classpath refid="java2wsdl.classpath"/>
<classpath path="${build.classes}"/>
<arg value="-lhttp://dummy-host:8080/dummy-path"/>
- <arg value="-o${build.resources}/ws4ee/marshalltest/META-INF/wsdl/rpc-literal.wsdl"/>
+ <arg value="-o${build.resources}/ws4ee/marshalltest-rpclit/META-INF/wsdl/rpc-literal.wsdl"/>
<arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
<arg value="-SMarshallTestService"/>
<arg value="-sMarshallTestPort"/>
@@ -1345,23 +1357,12 @@
<arg value="-uLITERAL"/>
<arg value="org.jboss.test.ws4ee.marshalltest.MarshallTestEndpoint"/>
</java>
+ <mkdir dir="${build.resources}/ws4ee/marshalltest-doclit/META-INF/wsdl"/>
<java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes">
- <classpath refid="tests.classpath"/>
- <classpath path="${build.classes}"/>
- <arg value="-lhttp://dummy-host:8080/dummy-path"/>
- <arg value="-o${build.resources}/ws4ee/marshalltest/META-INF/wsdl/doc-encoded.wsdl"/>
- <arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
- <arg value="-SMarshallTestService"/>
- <arg value="-sMarshallTestPort"/>
- <arg value="-yDOCUMENT"/>
- <arg value="-uENCODED"/>
- <arg value="org.jboss.test.ws4ee.marshalltest.MarshallTestEndpoint"/>
- </java>
- <java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes">
- <classpath refid="tests.classpath"/>
+ <classpath refid="java2wsdl.classpath"/>
<classpath path="${build.classes}"/>
<arg value="-lhttp://dummy-host:8080/dummy-path"/>
- <arg value="-o${build.resources}/ws4ee/marshalltest/META-INF/wsdl/doc-literal.wsdl"/>
+ <arg value="-o${build.resources}/ws4ee/marshalltest-doclit/META-INF/wsdl/doc-literal.wsdl"/>
<arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
<arg value="-SMarshallTestService"/>
<arg value="-sMarshallTestPort"/>
@@ -1373,7 +1374,7 @@
<!-- ws4ee/handlerflow -->
<mkdir dir="${build.resources}/ws4ee/handlerflow/META-INF/wsdl"/>
<java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes">
- <classpath refid="tests.classpath"/>
+ <classpath refid="java2wsdl.classpath"/>
<classpath path="${build.classes}"/>
<arg value="-lhttp://localhost:8080/ws4eehandlerflow/HelloService"/>
<arg value="-o${build.resources}/ws4ee/handlerflow/META-INF/wsdl/Hello.wsdl"/>
@@ -5383,8 +5384,8 @@
</fileset>
</ear>
- <!-- build ws4eemarshall.jar -->
- <jar destfile="${build.lib}/ws4eemarshall.jar" manifest="${build.etc}/manifest.mf">
+ <!-- build ws4eemarshall-rpcenc.ear -->
+ <jar destfile="${build.lib}/ws4eemarshall-rpcenc.jar" manifest="${build.etc}/manifest.mf">
<fileset dir="${build.classes}">
<include name="org/jboss/test/ws4ee/marshalltest/MarshallTestHome.class"/>
<include name="org/jboss/test/ws4ee/marshalltest/MarshallTestRemote.class"/>
@@ -5392,10 +5393,107 @@
<include name="org/jboss/test/ws4ee/marshalltest/MarshallTestBean.class"/>
</fileset>
<metainf dir="${build.resources}/ws4ee/marshalltest/META-INF">
- <include name="*.xml"/>
- <include name="wsdl/*.wsdl"/>
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ </metainf>
+ <metainf dir="${build.resources}/ws4ee/marshalltest-rpcenc/META-INF">
+ <include name="webservices.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/rpc-encoded.wsdl"/>
+ </metainf>
+ </jar>
+ <jar destfile="${build.lib}/ws4eemarshall-rpcenc-client.jar" manifest="${build.etc}/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/ws4ee/marshalltest-rpcenc/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/rpc-encoded.wsdl"/>
+ </metainf>
+ </jar>
+ <ear destfile="${build.lib}/ws4eemarshall-rpcenc.ear" manifest="${build.etc}/manifest.mf"
+ appxml="${source.resources}/ws4ee/marshalltest-rpcenc/META-INF/application.xml">
+ <fileset dir="${build.lib}">
+ <include name="ws4eemarshall-rpcenc.jar"/>
+ <include name="ws4eemarshall-rpcenc-client.jar"/>
+ </fileset>
+ </ear>
+
+ <!-- build ws4eemarshall-rpclit.ear -->
+ <jar destfile="${build.lib}/ws4eemarshall-rpclit.jar" manifest="${build.etc}/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestHome.class"/>
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestRemote.class"/>
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestEndpoint.class"/>
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestBean.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/ws4ee/marshalltest/META-INF">
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ </metainf>
+ <metainf dir="${build.resources}/ws4ee/marshalltest-rpclit/META-INF">
+ <include name="webservices.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/rpc-literal.wsdl"/>
+ </metainf>
+ </jar>
+ <jar destfile="${build.lib}/ws4eemarshall-rpclit-client.jar" manifest="${build.etc}/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/ws4ee/marshalltest-rpclit/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/rpc-literal.wsdl"/>
</metainf>
</jar>
+ <ear destfile="${build.lib}/ws4eemarshall-rpclit.ear" manifest="${build.etc}/manifest.mf"
+ appxml="${source.resources}/ws4ee/marshalltest-rpclit/META-INF/application.xml">
+ <fileset dir="${build.lib}">
+ <include name="ws4eemarshall-rpclit.jar"/>
+ <include name="ws4eemarshall-rpclit-client.jar"/>
+ </fileset>
+ </ear>
+
+ <!-- build ws4eemarshall-doclit.ear -->
+ <jar destfile="${build.lib}/ws4eemarshall-doclit.jar" manifest="${build.etc}/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestHome.class"/>
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestRemote.class"/>
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestEndpoint.class"/>
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestBean.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/ws4ee/marshalltest/META-INF">
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ </metainf>
+ <metainf dir="${build.resources}/ws4ee/marshalltest-doclit/META-INF">
+ <include name="webservices.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/doc-literal.wsdl"/>
+ </metainf>
+ </jar>
+ <jar destfile="${build.lib}/ws4eemarshall-doclit-client.jar" manifest="${build.etc}/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/ws4ee/marshalltest/MarshallTestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${build.resources}/ws4ee/marshalltest-doclit/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/doc-literal.wsdl"/>
+ </metainf>
+ </jar>
+ <ear destfile="${build.lib}/ws4eemarshall-doclit.ear" manifest="${build.etc}/manifest.mf"
+ appxml="${source.resources}/ws4ee/marshalltest-doclit/META-INF/application.xml">
+ <fileset dir="${build.lib}">
+ <include name="ws4eemarshall-doclit.jar"/>
+ <include name="ws4eemarshall-doclit-client.jar"/>
+ </fileset>
+ </ear>
<!-- build ws4eehandlerflow-ejb.ear -->
<jar destfile="${build.lib}/ws4eehandlerflow.jar" manifest="${build.etc}/manifest.mf">
|