Author: richard.opalka(a)jboss.com
Date: 2010-03-12 03:20:05 -0500 (Fri, 12 Mar 2010)
New Revision: 11770
Added:
stack/native/trunk/modules/testsuite/framework-tests/scripts/antrun-wsprovide.xml
Modified:
stack/native/trunk/modules/testsuite/framework-tests/pom.xml
Log:
[JBWS-2960] providing wsprovide script
Modified: stack/native/trunk/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/framework-tests/pom.xml 2010-03-12 08:15:06 UTC
(rev 11769)
+++ stack/native/trunk/modules/testsuite/framework-tests/pom.xml 2010-03-12 08:20:05 UTC
(rev 11770)
@@ -108,7 +108,11 @@
</goals>
<configuration>
<tasks>
+ <property name="maven.test.classpath"
refid="maven.test.classpath" />
+ <property name="tests.resources.dir"
value="${basedir}/src/test/resources" />
<property name="tests.output.dir"
value="${project.build.directory}" />
+ <property name="project.version"
value="${project.version}" />
+ <ant antfile="scripts/antrun-wsprovide.xml"
target="wsprovide" />
<ant antfile="src/test/ant-import/build-jars-jaxws.xml"
target="build-jars-jaxws" />
<ant
antfile="src/test/ant-import/build-samples-jaxws.xml"
target="build-samples-jaxws" />
<ant
antfile="src/test/ant-import/build-samples-jaxrpc.xml"
target="build-samples-jaxrpc"/>
Added: stack/native/trunk/modules/testsuite/framework-tests/scripts/antrun-wsprovide.xml
===================================================================
--- stack/native/trunk/modules/testsuite/framework-tests/scripts/antrun-wsprovide.xml
(rev 0)
+++
stack/native/trunk/modules/testsuite/framework-tests/scripts/antrun-wsprovide.xml 2010-03-12
08:20:05 UTC (rev 11770)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ============================================================ -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at
http://www.gnu.org. -->
+<!-- ============================================================ -->
+
+<project>
+
+ <!-- ================================================================== -->
+ <!-- Generating sources -->
+ <!-- ================================================================== -->
+
+ <target name="wsprovide" depends="prepend-jars"
description="Provide JAX-WS contracts">
+
+ <taskdef name="wsprovide"
classname="org.jboss.wsf.spi.tools.ant.WSProvideTask">
+ <classpath>
+ <pathelement path="${wsprovide.classpath}"/>
+ </classpath>
+ </taskdef>
+
+ <wsprovide
+ genwsdl="true"
+ sei="org.jboss.test.ws.jaxws.jbws2960.AddNumbersImpl"
+ classpath="${tests.output.dir}/test-classes"
+ resourcedestdir="${tests.output.dir}/test-resources/jaxws/jbws2960"
+ />
+ </target>
+
+ <target name="prepend-jars">
+ <property name="wsprovide.classpath"
value="${maven.test.classpath}"/>
+ </target>
+
+</project>