axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r518135 - /webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java
Date Wed, 14 Mar 2007 13:39:18 GMT
Author: dims
Date: Wed Mar 14 06:39:18 2007
New Revision: 518135

URL: http://svn.apache.org/viewvc?view=rev&rev=518135
Log:
Fix for AXIS2-2168 - Mistake in uri to namespace mapping in mojo of wsdl2code

Modified:
    webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java

Modified: webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java?view=diff&rev=518135&r1=518134&r2=518135
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java
Wed Mar 14 06:39:18 2007
@@ -365,7 +365,7 @@
     				throw new MojoFailureException("A namespace to package mapping requires an uri child
element.");
     			}
     			String uriPackageName = mapping.getPackageName();
-    			if (uriPackageName != null) {
+    			if (uriPackageName == null) {
     				throw new MojoFailureException("A namespace to package mapping requires a packageName
child element.");
     			}
     			if(sb.length() > 0) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message