[jbossws-commits] JBossWS SVN: r9573 - in stack/cxf/trunk/modules/testsuite/framework-tests: scripts and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Mar 10 15:24:01 EDT 2009


Author: alessio.soldano at jboss.com
Date: 2009-03-10 15:24:01 -0400 (Tue, 10 Mar 2009)
New Revision: 9573

Added:
   stack/cxf/trunk/modules/testsuite/framework-tests/scripts/
   stack/cxf/trunk/modules/testsuite/framework-tests/scripts/antrun-wsconsume.xml
Modified:
   stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml
Log:
[JBWS-2223] wsconsume for cxf build


Modified: stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml	2009-03-10 18:16:25 UTC (rev 9572)
+++ stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml	2009-03-10 19:24:01 UTC (rev 9573)
@@ -87,6 +87,22 @@
             <artifactId>maven-antrun-plugin</artifactId>
             <executions>
               <execution>
+                <id>wsconsume</id>
+                <phase>generate-sources</phase>
+                <goals>
+                  <goal>run</goal>
+                </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-wsconsume.xml" target="wsconsume"/>
+                  </tasks>
+                </configuration>
+              </execution>
+              <execution>
                 <phase>test-compile</phase>
                 <goals>
                   <goal>run</goal>

Added: stack/cxf/trunk/modules/testsuite/framework-tests/scripts/antrun-wsconsume.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/framework-tests/scripts/antrun-wsconsume.xml	                        (rev 0)
+++ stack/cxf/trunk/modules/testsuite/framework-tests/scripts/antrun-wsconsume.xml	2009-03-10 19:24:01 UTC (rev 9573)
@@ -0,0 +1,28 @@
+<?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="wsconsume" description="Consume JAX-WS contracts">
+    
+    <!-- Define the JAX-WS wsconsume task -->
+    <taskdef name="wsconsume" classname="org.jboss.wsf.spi.tools.ant.WSConsumeTask">
+      <classpath>
+        <pathelement path="${maven.test.classpath}"/>
+      </classpath>
+    </taskdef>
+    
+    <wsconsume wsdl="${tests.resources.dir}/jaxws/complex/META-INF/wsdl/RegistrationService.wsdl" package="org.jboss.test.ws.jaxws.complex" sourcedestdir="${tests.output.dir}/wsconsume/java" destdir="${tests.output.dir}/test-classes" keep="true" verbose="false"/>
+    <wsconsume wsdl="${tests.resources.dir}/jaxws/holder/META-INF/wsdl/HolderService.wsdl" package="org.jboss.test.ws.jaxws.holder" sourcedestdir="${tests.output.dir}/wsconsume/java" destdir="${tests.output.dir}/test-classes" keep="true" verbose="false"/>
+  </target>
+  
+</project>
\ No newline at end of file


Property changes on: stack/cxf/trunk/modules/testsuite/framework-tests/scripts/antrun-wsconsume.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list