cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r519868 - in /incubator/cxf/trunk: codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/ testutils/ tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/ tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/ tools/wsd...
Date Mon, 19 Mar 2007 08:01:37 GMT
Author: mmao
Date: Mon Mar 19 01:01:35 2007
New Revision: 519868

URL: http://svn.apache.org/viewvc?view=rev&rev=519868
Log:
Fix [CXF-353] codegen maven plugin returns BUILD SUCCESSFUL when code generation failed

Modified:
    incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
    incubator/cxf/trunk/testutils/pom.xml
    incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJava.java
    incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
    incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java
    incubator/cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/resources/META-INF/tools-plugin.xml
    incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/resources/META-INF/tools-plugin.xml
    incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/common/ProcessorTestBase.java
    incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/core/PluginLoaderTest.java

Modified: incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java (original)
+++ incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java Mon Mar 19 01:01:35 2007
@@ -172,12 +172,15 @@
 
 
             try {
+                String exitOnFinish = System.getProperty("exitOnFinish", "");
+
                 try {
                     StringBuffer strBuffer = new StringBuffer();
                     for (int i = 0; i < list.size(); i++) {
                         strBuffer.append(list.get(i));
                         strBuffer.append(" ");
                     }
+                    System.setProperty("exitOnFinish", "YES");
                     WSDLToJava.main((String[])list.toArray(new String[list.size()]));
                     doneFile.delete();
                     doneFile.createNewFile();
@@ -188,9 +191,11 @@
                     } else {
                         throw e;
                     }
+                } finally {
+                    System.setProperty("exitOnFinish", exitOnFinish);
                 }
             } catch (Throwable e) {
-                e.printStackTrace();
+                getLog().debug(e);
                 throw new MojoExecutionException(e.getMessage(), e);
             }
         }

Modified: incubator/cxf/trunk/testutils/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/pom.xml?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/testutils/pom.xml (original)
+++ incubator/cxf/trunk/testutils/pom.xml Mon Mar 19 01:01:35 2007
@@ -1,20 +1,20 @@
 <!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
@@ -26,818 +26,745 @@
     <url>http://cwiki.apache.org/CXF</url>
 
     <parent>
-        <groupId>org.apache.cxf</groupId>
-        <artifactId>cxf-parent</artifactId>
-        <version>2.0-incubator-RC-SNAPSHOT</version>
-        <relativePath>../parent/pom.xml</relativePath>
+	<groupId>org.apache.cxf</groupId>
+	<artifactId>cxf-parent</artifactId>
+	<version>2.0-incubator-RC-SNAPSHOT</version>
+	<relativePath>../parent/pom.xml</relativePath>
     </parent>
 
     <dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-common</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>javax.xml.ws</groupId>
-            <artifactId>jaxws-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-annotation_1.0_spec</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-api</artifactId>
-            <version>${project.version}</version>
-        </dependency>
+	<dependency>
+	    <groupId>junit</groupId>
+	    <artifactId>junit</artifactId>
+	    <scope>provided</scope>
+	</dependency>
+	<dependency>
+	    <groupId>org.apache.cxf</groupId>
+	    <artifactId>cxf-tools-common</artifactId>
+	    <version>${project.version}</version>
+	</dependency>
+	<dependency>
+	    <groupId>javax.xml.ws</groupId>
+	    <artifactId>jaxws-api</artifactId>
+	</dependency>
+	<dependency>
+	    <groupId>org.apache.geronimo.specs</groupId>
+	    <artifactId>geronimo-annotation_1.0_spec</artifactId>
+	</dependency>
+	<dependency>
+	    <groupId>org.apache.cxf</groupId>
+	    <artifactId>cxf-api</artifactId>
+	    <version>${project.version}</version>
+	</dependency>
     </dependencies>
 
     <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <dependencies>
-                    <dependency>
-                        <groupId>ant</groupId>
-                        <artifactId>ant-trax</artifactId>
-                        <version>1.6.5</version>
-                    </dependency>
-                </dependencies>
-
-                <executions>
-                    <execution>
-                        <!--
-                            Run in validate phase to ensure wsdls exist
-                            before running wsdl2java in generate-sources
-                            phase.
-                        -->
-                        <id>validate</id>
-                        <phase>validate</phase>
-                        <configuration>
-                            <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
-                            <tasks>
-                                <property name="generated.target" value="${basedir}/target/generated" />
-                                <property name="generated.src.test" value="${generated.target}/src/main/java" />
-                                <property name="generated.resources.test" value="${generated.target}/src/main/resources" />
-                                <property name="generated.wsdl.test" value="${generated.resources.test}/" />
-                                <property name="test.resources.dir" location="${basedir}/src/main/resources" />
-
-                                <mkdir dir="${generated.resources.test}/wsdl/type_test" />
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_ID_xsd.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_1.xsd">
-                                    <param name="groupID" expression="1" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_ID_xsd.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_2.xsd">
-                                    <param name="groupID" expression="2" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_ID_xsd.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_3.xsd">
-                                    <param name="groupID" expression="3" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_wsdl.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_doclit.wsdl">
-                                    <param name="inc_xsd_path" expression="." />
-                                    <param name="use_style" expression="document" />
-                                    <param name="tns_suffix" expression="doc" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_wsdl.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_rpclit.wsdl">
-                                    <param name="inc_xsd_path" expression="." />
-                                    <param name="use_style" expression="rpc" />
-                                    <param name="tns_suffix" expression="rpc" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_wsdl.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_xml_inc.wsdl">
-                                    <param name="inc_xsd_path" expression="." />
-                                    <param name="use_style" expression="document" />
-                                    <param name="tns_suffix" expression="xml" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_xml_wsdl.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_xml.wsdl">
-                                    <param name="inc_wsdl_path" expression="." />
-                                    <param name="port" expression="9008" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_soap_wsdl.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_doclit_soap.wsdl">
-                                    <param name="inc_wsdl_path" expression="." />
-                                    <param name="use_style" expression="document" />
-                                    <param name="port" expression="9007" />
-                                </xslt>
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_soap_wsdl.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.resources.test}/wsdl/type_test/type_test_rpclit_soap.wsdl">
-                                    <param name="inc_wsdl_path" expression="." />
-                                    <param name="use_style" expression="rpc" />
-                                    <param name="port" expression="9006" />
-                                </xslt>
-                                <mkdir dir="${generated.src.test}/org/apache/cxf/systest/type_test" />
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_impl_java.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.src.test}/org/apache/cxf/systest/type_test/TypeTestImpl.java" />
-                                <xslt style="${test.resources.dir}/wsdl/type_test/type_test_tester_java.xsl" in="${test.resources.dir}/wsdl/type_test/type_test.xsd" out="${generated.src.test}/org/apache/cxf/systest/type_test/TypeTestTester.java" />
-
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.cxf</groupId>
-                <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${project.version}</version>
-                <executions>
-                    <execution>
-                        <id>generate-sources</id>
-                        <phase>generate-sources</phase>
-                        <configuration>
-                            <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
-                            <wsdlOptions>
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-                                    <extraargs>
-                                        <extraarg>-b</extraarg>
-                                        <extraarg>
-                                            ${basedir}/src/main/resources/wsdl/async_binding.xml
-                                        </extraarg>
-                                        <extraarg>-sn</extraarg>
+	<plugins>
+	    <plugin>
+		<groupId>org.apache.maven.plugins</groupId>
+		<artifactId>maven-antrun-plugin</artifactId>
+		<dependencies>
+		    <dependency>
+			<groupId>ant</groupId>
+			<artifactId>ant-trax</artifactId>
+			<version>1.6.5</version>
+		    </dependency>
+		</dependencies>
+
+		<executions>
+		    <execution>
+			<!--
+			    Run in validate phase to ensure wsdls exist
+			    before running wsdl2java in generate-sources
+			    phase.
+			-->
+			<id>validate</id>
+			<phase>validate</phase>
+			<configuration>
+			    <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
+			    <tasks>
+				<property name="generated.target" value="${basedir}/target/generated" />
+				<property name="generated.src.test" value="${generated.target}/src/main/java" />
+				<property name="generated.resources.test" value="${generated.target}/src/main/resources" />
+				<property name="generated.wsdl.test" value="${generated.resources.test}/" />
+				<property name="test.resources.dir" location="${basedir}/src/main/resources" />
+
+				<mkdir dir="${generated.resources.test}/wsdl/type_test" />
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_ID_xsd.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_1.xsd">
+				    <param name="groupID" expression="1" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_ID_xsd.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_2.xsd">
+				    <param name="groupID" expression="2" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_ID_xsd.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_3.xsd">
+				    <param name="groupID" expression="3" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_wsdl.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_doclit.wsdl">
+				    <param name="inc_xsd_path" expression="." />
+				    <param name="use_style" expression="document" />
+				    <param name="tns_suffix" expression="doc" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_wsdl.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_rpclit.wsdl">
+				    <param name="inc_xsd_path" expression="." />
+				    <param name="use_style" expression="rpc" />
+				    <param name="tns_suffix" expression="rpc" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_wsdl.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_xml_inc.wsdl">
+				    <param name="inc_xsd_path" expression="." />
+				    <param name="use_style" expression="document" />
+				    <param name="tns_suffix" expression="xml" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_xml_wsdl.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_xml.wsdl">
+				    <param name="inc_wsdl_path" expression="." />
+				    <param name="port" expression="9008" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_soap_wsdl.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_doclit_soap.wsdl">
+				    <param name="inc_wsdl_path" expression="." />
+				    <param name="use_style" expression="document" />
+				    <param name="port" expression="9007" />
+				</xslt>
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_soap_wsdl.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.resources.test}/wsdl/type_test/type_test_rpclit_soap.wsdl">
+				    <param name="inc_wsdl_path" expression="." />
+				    <param name="use_style" expression="rpc" />
+				    <param name="port" expression="9006" />
+				</xslt>
+
+				<mkdir dir="${generated.src.test}/org/apache/cxf/systest/type_test" />
+
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_impl_java.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.src.test}/org/apache/cxf/systest/type_test/TypeTestImpl.java" />
+				<xslt style="${test.resources.dir}/wsdl/type_test/type_test_tester_java.xsl" 
+				      in="${test.resources.dir}/wsdl/type_test/type_test.xsd" 
+				      out="${generated.src.test}/org/apache/cxf/systest/type_test/TypeTestTester.java" />
+
+			    </tasks>
+			</configuration>
+			<goals>
+			    <goal>run</goal>
+			</goals>
+		    </execution>
+		</executions>
+	    </plugin>
+	    <plugin>
+		<groupId>org.apache.cxf</groupId>
+		<artifactId>cxf-codegen-plugin</artifactId>
+		<version>${project.version}</version>
+		<executions>
+		    <execution>
+			<id>generate-sources</id>
+			<phase>generate-sources</phase>
+			<configuration>
+			    <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
+			    <wsdlOptions>
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>
+					    ${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
 					<extraarg>SOAPService</extraarg>                                      
-                                        
-                                    </extraargs>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPProviderService</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPDispatchService</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption> 
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPService_DocLitBare</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>     
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPServiceAddressingDocLitBare</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>                               
-                                 
-                                 
-                                 
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPService_Test1</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SoapPort_Test2</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>  
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPServiceAddressing</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>                                
-                                
-                                <wsdlOption>
-				      <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
-				      <extraargs>
-				          <extraarg>-b</extraarg>
-				          <extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
-				          </extraarg>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SOAPServiceConcurrencyTest</extraarg>                                                                 
-				      </extraargs>
-                                </wsdlOption>                                
-                                
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_soap12.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPService</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                 <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureDontRequireClientAuthSOAPService</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>TargetSecureSOAPService</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>                                
-
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>InterSecureSOAPService</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>TargetSecureDontRequireClientAuthSOAPService</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>InterSecureDontRequireClientAuthSOAPService</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPServiceServerConfiguredByGoodProvider</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPServiceServerConfiguredByBadProvider</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPServiceP12</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPServiceDifferentCipherSuites</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPServiceClientPropertiesSet</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>    
-                                
-				<wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
-				    <extraargs>
-				          <extraarg>-sn</extraarg>
-					  <extraarg>SecureSOAPServiceClientPropertiesNotSet</extraarg>                                                                 
-				    </extraargs>                                    
-                                </wsdlOption>                                    
-                                
-                                
-                                
-                                
-                                
-                                <wsdlOption>
-				                                    <wsdl>${basedir}/src/main/resources/wsdl/greeter_control.wsdl</wsdl>
-				                                    <extraargs>
-				                                        <extraarg>-b</extraarg>
-				                                        <extraarg>
-				                                            ${basedir}/src/main/resources/wsdl/greeter_control.xjb
-				                                        </extraarg>
-								         <extraarg>-sn</extraarg>
-									 <extraarg>BasicGreeterService</extraarg>                                                                 
-				                                        
-				                                    </extraargs>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/greeter_control.wsdl</wsdl>
-                                    <extraargs>
-                                        <extraarg>-b</extraarg>
-                                        <extraarg>
-                                            ${basedir}/src/main/resources/wsdl/greeter_control.xjb
-                                        </extraarg>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>ControlService</extraarg>                                                                 
-                                        
-                                    </extraargs>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/greeter_control.wsdl</wsdl>
-                                    <extraargs>
-                                        <extraarg>-b</extraarg>
-                                        <extraarg>
-                                            ${basedir}/src/main/resources/wsdl/greeter_control.xjb
-                                        </extraarg>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>GreeterService</extraarg>                                                                 
-                                        
-                                    </extraargs>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/mtom_xop.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/swa-mime.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_xml_mixed.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_xml_bare.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>
-                                        ${basedir}/src/main/resources/wsdl/hello_world_xml_wrapped.wsdl
-                                    </wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>GreeterService</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                 <wsdlOption>
-                                     <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                     <extraargs>
- 				         <extraarg>-sn</extraarg>
- 					 <extraarg>GreeterService</extraarg>                                                                                                         
-                                     </extraargs>                                    
-                                </wsdlOption>
-
-
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceRPCLit</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>                                
-                                 <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceProviderRPCLit</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>                               
-                                 <wsdlOption>
-                                     <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                     <extraargs>
- 				         <extraarg>-sn</extraarg>
- 					 <extraarg>SOAPServiceRPCLit1</extraarg>                                                                                                         
-                                     </extraargs>                                    
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceRPCLit2</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceRPCLit3</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceRPCLit4</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceRPCLit5</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPServiceRPCLit6</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                                            
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_mixedstyle.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPService</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                                         
-                                
-
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPService2</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPService3</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPService4</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPService5</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>XMLService1</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>XMLService2</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>XMLService3</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>XMLService4</extraarg>                                                                                                         
-                                    </extraargs>                                    
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/doc_lit_bare.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                             
-                                
-                                <!--wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>HelloWorldQueueBinMsgService</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption>
-
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>HelloWorldServiceLoop</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption>
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>HWStaticReplyQBinMsgService</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption>
-                                
-                                
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>HWStaticReplyQTextMsgService</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption-->
-                                
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>HelloWorldOneWayQueueService</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption>
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>HelloWorldPubSubService</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption>
-                                
-                                
-
-                                <!--wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>JMSSOAPServiceAddressing</extraarg>                                                                                                         
-                                    </extraargs> 
-                                    
-                                </wsdlOption-->
-                                
-                                <wsdlOption>
-				     <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
-				     <extraargs>
-					   <extraarg>-sn</extraarg>
-					   <extraarg>HelloWorldService</extraarg>                                                                                                         
-				     </extraargs>
-                                </wsdlOption>
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/handler_test.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/soapheader.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/soapheader2.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/soapheader_rpc.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/locator.wsdl</wsdl>
-                                </wsdlOption>
-                                
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/schema_validation.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>
-                                        ${basedir}/src/main/resources/wsdl/anonymous_complex_type.wsdl
-                                    </wsdl>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/basic_callback_test.wsdl</wsdl>
-                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>SOAPService</extraarg>                                                                                                         
-                                    </extraargs>
-                                    
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/basic_callback_test.wsdl</wsdl>
-                                    
-                                    <extraargs>
-				         <extraarg>-sn</extraarg>
-					 <extraarg>CallbackService</extraarg>                                                                                                         
-                                    </extraargs>
-                                    
-                                </wsdlOption>                                
-
-                                <wsdlOption>
-                                    <wsdl>
-                                        ${basedir}/src/main/resources/wsdl/hello_world_underscore.wsdl
-                                    </wsdl>
-                                </wsdlOption>
-
-                                <wsdlOption>
-                                    <wsdl>
-                                        ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_xml.wsdl
-                                    </wsdl>
-                                    <dependencies>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_xml_inc.wsdl
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_1.xsd
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_2.xsd
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_3.xsd
-                                        </dependency>
-                                    </dependencies>
-                                </wsdlOption>
-                                <wsdlOption>
-                                    <wsdl>
-                                        ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_doclit_soap.wsdl
-                                    </wsdl>
-                                    <dependencies>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_doclit.wsdl
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_1.xsd
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_2.xsd
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_3.xsd
-                                        </dependency>
-                                    </dependencies>
-                                </wsdlOption>
-                                <wsdlOption>
-                                    <wsdl>
-                                        ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_rpclit_soap.wsdl
-                                    </wsdl>
-                                    <dependencies>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_rpclit.wsdl
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_1.xsd
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_2.xsd
-                                        </dependency>
-                                        <dependency>
-                                            ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_3.xsd
-                                        </dependency>
-                                    </dependencies>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/addNumbers.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/calculator.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/jaxb_element_test.wsdl</wsdl>
-                                </wsdlOption>
-                                
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/ordered_param_holder.wsdl</wsdl>
-                                </wsdlOption>
-
-                                <wsdlOption>
-                                    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_services.wsdl</wsdl>
-                                </wsdlOption>
-
-                            </wsdlOptions>
-                        </configuration>
-                        <goals>
-                            <goal>wsdl2java</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPProviderService</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPDispatchService</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption> 
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService_DocLitBare</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption>     
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceAddressingDocLitBare</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption>                               
+				
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService_Test1</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceAddressing</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption>                                
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>${basedir}/src/main/resources/wsdl/async_binding.xml
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceConcurrencyTest</extraarg>                                                                 
+				    </extraargs>
+				</wsdlOption>                                
+				
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_soap12.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPService</extraarg>                                                                 
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureDontRequireClientAuthSOAPService</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>TargetSecureSOAPService</extraarg>                                                                 
+				    </extraargs>                                    
+				</wsdlOption>                                
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>InterSecureSOAPService</extraarg>                                                                 
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>TargetSecureDontRequireClientAuthSOAPService</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>InterSecureDontRequireClientAuthSOAPService</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPServiceServerConfiguredByGoodProvider</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPServiceServerConfiguredByBadProvider</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPServiceP12</extraarg>                                                                 
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPServiceDifferentCipherSuites</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPServiceClientPropertiesSet</extraarg>
+				    </extraargs>
+				</wsdlOption>    
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_secure.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SecureSOAPServiceClientPropertiesNotSet</extraarg>                                                               
+				    </extraargs>                                    
+				</wsdlOption>                                    
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/greeter_control.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>
+					    ${basedir}/src/main/resources/wsdl/greeter_control.xjb
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>BasicGreeterService</extraarg>                                                                 
+					
+				    </extraargs>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/greeter_control.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>
+					    ${basedir}/src/main/resources/wsdl/greeter_control.xjb
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>ControlService</extraarg>                                                                 
+					
+				    </extraargs>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/greeter_control.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-b</extraarg>
+					<extraarg>
+					    ${basedir}/src/main/resources/wsdl/greeter_control.xjb
+					</extraarg>
+					<extraarg>-sn</extraarg>
+					<extraarg>GreeterService</extraarg>                                                                 
+					
+				    </extraargs>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/mtom_xop.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/swa-mime.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_xml_mixed.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_xml_bare.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>
+					${basedir}/src/main/resources/wsdl/hello_world_xml_wrapped.wsdl
+				    </wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>                                
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceProviderRPCLit</extraarg>
+				    </extraargs>
+				</wsdlOption>                               
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit1</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit2</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit3</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit4</extraarg>
+				    </extraargs>    
+				</wsdlOption>                                
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit5</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_rpc_lit.wsdl</wsdl>                                    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPServiceRPCLit6</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_mixedstyle.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService2</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService3</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService4</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService5</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>XMLService1</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>XMLService2</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>XMLService3</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_doc_lit.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>XMLService4</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/doc_lit_bare.wsdl</wsdl>
+				</wsdlOption>
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>HelloWorldOneWayQueueService</extraarg>
+				    </extraargs>                                    
+				</wsdlOption>
+				
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>HelloWorldPubSubService</extraarg>
+				    </extraargs> 
+				    
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/jms_test.wsdl</wsdl>
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>HelloWorldService</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/handler_test.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/soapheader.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/soapheader2.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/soapheader_rpc.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/locator.wsdl</wsdl>
+				</wsdlOption>
+				
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/schema_validation.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>
+					${basedir}/src/main/resources/wsdl/anonymous_complex_type.wsdl
+				    </wsdl>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/basic_callback_test.wsdl</wsdl>
+				    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>SOAPService</extraarg>
+				    </extraargs>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/basic_callback_test.wsdl</wsdl>
+				    
+				    <extraargs>
+					<extraarg>-sn</extraarg>
+					<extraarg>CallbackService</extraarg>
+				    </extraargs>
+				</wsdlOption>                                
+
+				<wsdlOption>
+				    <wsdl>
+					${basedir}/src/main/resources/wsdl/hello_world_underscore.wsdl
+				    </wsdl>
+				</wsdlOption>
+
+				<wsdlOption>
+				    <wsdl>
+					${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_xml.wsdl
+				    </wsdl>
+				    <dependencies>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_xml_inc.wsdl
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_1.xsd
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_2.xsd
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_3.xsd
+					</dependency>
+				    </dependencies>
+				</wsdlOption>
+				<wsdlOption>
+				    <wsdl>
+					${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_doclit_soap.wsdl
+				    </wsdl>
+				    <dependencies>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_doclit.wsdl
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_1.xsd
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_2.xsd
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_3.xsd
+					</dependency>
+				    </dependencies>
+				</wsdlOption>
+				<wsdlOption>
+				    <wsdl>
+					${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_rpclit_soap.wsdl
+				    </wsdl>
+				    <dependencies>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_rpclit.wsdl
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_1.xsd
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_2.xsd
+					</dependency>
+					<dependency>
+					    ${basedir}/target/generated/src/main/resources/wsdl/type_test/type_test_3.xsd
+					</dependency>
+				    </dependencies>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/addNumbers.wsdl</wsdl>
+				</wsdlOption>
+				
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/calculator.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/jaxb_element_test.wsdl</wsdl>
+				</wsdlOption>
+				
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/ordered_param_holder.wsdl</wsdl>
+				</wsdlOption>
+
+				<wsdlOption>
+				    <wsdl>${basedir}/src/main/resources/wsdl/hello_world_services.wsdl</wsdl>
+				</wsdlOption>
+
+			    </wsdlOptions>
+			</configuration>
+			<goals>
+			    <goal>wsdl2java</goal>
+			</goals>
+		    </execution>
+		</executions>
+	    </plugin>
+	</plugins>
     </build>
 
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/testutils</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/cxf/trunk/testutils</developerConnection>
+	<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/testutils</connection>
+	<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/cxf/trunk/testutils</developerConnection>
     </scm>
 
 </project>

Modified: incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJava.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJava.java?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJava.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJava.java Mon Mar 19 01:01:35 2007
@@ -171,18 +171,28 @@
             w2j.run(new ToolContext());
             
         } catch (ToolException ex) {
-            System.err.println("Error : " + ex.getMessage());
+            System.err.println();
+            System.err.println("WSDLToJava Error : " + ex.getMessage());
             System.err.println();
             if (w2j.isVerbose()) {
                 ex.printStackTrace();
             }
+            if (w2j.isExitOnFinish()) {
+                System.exit(1);
+            }
         } catch (Exception ex) {
-            System.err.println("Error : " + ex.getMessage());
+            System.err.println("WSDLToJava Error : " + ex.getMessage());
             System.err.println();
             if (w2j.isVerbose()) {
                 ex.printStackTrace();
             }
+            if (w2j.isExitOnFinish()) {
+                System.exit(1);
+            }
         }
+        if (w2j.isExitOnFinish()) {
+            System.exit(0);
+        }        
     }
 
     private static InputStream getResourceAsStream(Class clz, String file) {

Modified: incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java Mon Mar 19 01:01:35 2007
@@ -178,26 +178,10 @@
             if (ex.getCause() instanceof BadUsageException) {
                 printUsageException(toolName, (BadUsageException)ex.getCause());
             }
-            System.err.println();
-            if (isVerboseOn()) {
-                ex.printStackTrace();
-            }
-            if (exitOnFinish) {
-                System.exit(1);
-            }            
+            throw ex;
         } catch (Exception ex) {
-            System.err.println("Error : " + ex.getMessage());
-            System.err.println();
-            if (isVerboseOn()) {
-                ex.printStackTrace();
-            }
-            if (exitOnFinish) {
-                System.exit(1);
-            }      
+            throw new ToolException(ex);
         }
-        if (exitOnFinish) {
-            System.exit(0);
-        }        
     }
 
     @SuppressWarnings("unchecked")

Modified: incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java Mon Mar 19 01:01:35 2007
@@ -127,7 +127,11 @@
     }
     
     protected void loadPlugin(Plugin plugin) {
-        LOG.log(Level.INFO, "FOUND_FRONTENDS", new Object[]{plugin.getName(), plugin.getFrontend().size()});
+        if (plugin.getFrontend().size() > 0) {
+            LOG.log(Level.INFO, "FOUND_FRONTENDS", new Object[]{plugin.getName(),
+                                                                plugin.getFrontend().size()});
+        }
+        
         for (FrontEnd frontend : plugin.getFrontend()) {
             LOG.log(Level.INFO, "LOADING_FRONTEND", new Object[]{frontend.getName(), plugin.getName()});
             if (StringUtils.isEmpty(frontend.getName())) {
@@ -136,9 +140,12 @@
             }
             frontends.put(frontend.getName(), frontend);
         }
-        
-        LOG.log(Level.INFO, "FOUND_DATABINDINGS", new Object[]{plugin.getName(),
-                                                               plugin.getDatabinding().size()});
+
+        if (plugin.getDatabinding().size() > 0) {
+            LOG.log(Level.INFO, "FOUND_DATABINDINGS", new Object[]{plugin.getName(),
+                                                                   plugin.getDatabinding().size()});
+        }
+
         for (DataBinding databinding : plugin.getDatabinding()) {
             LOG.log(Level.INFO, "LOADING_DATABINDING", new Object[]{databinding.getName(), plugin.getName()});
             if (StringUtils.isEmpty(databinding.getName())) {

Modified: incubator/cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/resources/META-INF/tools-plugin.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/resources/META-INF/tools-plugin.xml?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/resources/META-INF/tools-plugin.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/resources/META-INF/tools-plugin.xml Mon Mar 19 01:01:35 2007
@@ -18,6 +18,6 @@
 under the License.
 -->
 
-<plugin name="default" version="" provider="" xmlns="http://cxf.apache.org/tools/plugin">
+<plugin name="jaxb" version="" provider="" xmlns="http://cxf.apache.org/tools/plugin">
     <databinding name="jaxb" package="org.apache.cxf.tools.wsdlto.databinding.jaxb" profile="JAXBDataBinding"/>
 </plugin>

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/resources/META-INF/tools-plugin.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/resources/META-INF/tools-plugin.xml?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/resources/META-INF/tools-plugin.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/resources/META-INF/tools-plugin.xml Mon Mar 19 01:01:35 2007
@@ -18,7 +18,7 @@
 under the License.
 -->
 
-<plugin name="default" version="" provider="" xmlns="http://cxf.apache.org/tools/plugin">
+<plugin name="jaxws" version="" provider="" xmlns="http://cxf.apache.org/tools/plugin">
     <frontend name="jaxws" package="org.apache.cxf.tools.wsdlto.frontend.jaxws" profile="JAXWSProfile">
 	<container name="JAXWSContainer" toolspec="jaxws-toolspec.xml"/>
 	<processor name="WSDLToJavaProcessor" package="org.apache.cxf.tools.wsdlto.frontend.jaxws.processor"/>

Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/common/ProcessorTestBase.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/common/ProcessorTestBase.java?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/common/ProcessorTestBase.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/common/ProcessorTestBase.java Mon Mar 19 01:01:35 2007
@@ -30,9 +30,6 @@
 import org.apache.cxf.tools.wsdlto.core.FrontEndProfile;
 import org.apache.cxf.tools.wsdlto.core.PluginLoader;
 
-/*import org.apache.cxf.tools.common.ProcessorEnvironment;
-import org.apache.cxf.tools.common.ToolException;*/
-
 public class ProcessorTestBase extends TestCase {
 
     private static final int RETRY_SLEEP_MILLIS = 10;

Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/core/PluginLoaderTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/core/PluginLoaderTest.java?view=diff&rev=519868&r1=519867&r2=519868
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/core/PluginLoaderTest.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/core/PluginLoaderTest.java Mon Mar 19 01:01:35 2007
@@ -34,10 +34,9 @@
     public void testLoadPlugins() throws Exception {
         PluginLoader loader = PluginLoader.getInstance();
         assertEquals(2, loader.getPlugins().size());
-        assertEquals("default", getPlugin(loader, 0).getName());
 
         Plugin plugin = getPlugin(loader, 0);
-        assertEquals("default", plugin.getName());
+        assertNotNull(plugin.getName());
         
         Map<String, FrontEnd> frontends = loader.getFrontEnds();
         assertNotNull(frontends);



Mime
View raw message