|
From: Thomas D. <tdi...@us...> - 2004-05-09 17:19:48
|
User: tdiesler
Date: 04/05/09 10:19:42
Modified: . build.xml
Log:
+ introduce compile-wsdl target
+ move to dynamically generated wsdl docs
Revision Changes Path
1.366 +56 -3 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.365
retrieving revision 1.366
diff -u -r1.365 -r1.366
--- build.xml 9 May 2004 14:35:19 -0000 1.365
+++ build.xml 9 May 2004 17:19:41 -0000 1.366
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.365 2004/05/09 14:35:19 tdiesler Exp $ -->
+<!-- $Id: build.xml,v 1.366 2004/05/09 17:19:41 tdiesler Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -283,7 +283,7 @@
| documentation compiles.
-->
<target name="compile"
- depends="compile-classes, compile-xmbean-dds, compile-etc, compile-stylesheets, compile-resources"
+ depends="compile-classes, compile-xmbean-dds, compile-etc, compile-stylesheets, compile-resources, compile-wsdl"
description="Compile all source files."/>
<!-- Compile EJB beans with XDoclet -->
@@ -1308,7 +1308,60 @@
</copy>
</target>
+ <!-- Compile wsdl files -->
+ <target name="compile-wsdl" depends="init">
+ <!-- ws4ee/marshalltest -->
+ <mkdir dir="${build.resources}/ws4ee/marshalltest/META-INF"/>
+ <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/rpc-encoded.wsdl"/>
+ <arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
+ <arg value="-SMarshallTestService"/>
+ <arg value="-sMarshallTestPort"/>
+ <arg value="-yRPC"/>
+ <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 path="${build.classes}"/>
+ <arg value="-lhttp://dummy-host:8080/dummy-path"/>
+ <arg value="-o${build.resources}/ws4ee/marshalltest/META-INF/rpc-literal.wsdl"/>
+ <arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
+ <arg value="-SMarshallTestService"/>
+ <arg value="-sMarshallTestPort"/>
+ <arg value="-yRPC"/>
+ <arg value="-uLITERAL"/>
+ <arg value="org.jboss.test.ws4ee.marshalltest.MarshallTestEndpoint"/>
+ </java>
+ <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/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 path="${build.classes}"/>
+ <arg value="-lhttp://dummy-host:8080/dummy-path"/>
+ <arg value="-o${build.resources}/ws4ee/marshalltest/META-INF/doc-literal.wsdl"/>
+ <arg value="-nhttp://ws4ee.jboss.org/marshalltest"/>
+ <arg value="-SMarshallTestService"/>
+ <arg value="-sMarshallTestPort"/>
+ <arg value="-yDOCUMENT"/>
+ <arg value="-uLITERAL"/>
+ <arg value="org.jboss.test.ws4ee.marshalltest.MarshallTestEndpoint"/>
+ </java>
+ </target>
<!-- ================================================================== -->
<!-- Archives -->
@@ -5145,7 +5198,7 @@
<include name="org/jboss/test/ws4ee/marshalltest/MarshallTestEndpoint.class"/>
<include name="org/jboss/test/ws4ee/marshalltest/MarshallTestBean.class"/>
</fileset>
- <metainf dir="${source.resources}/ws4ee/marshalltest/META-INF">
+ <metainf dir="${build.resources}/ws4ee/marshalltest/META-INF">
<include name="*.xml"/>
<include name="*.wsdl"/>
</metainf>
|