You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2010/10/23 01:24:06 UTC

svn commit: r1026525 - /axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java

Author: nadiramra
Date: Fri Oct 22 23:24:05 2010
New Revision: 1026525

URL: http://svn.apache.org/viewvc?rev=1026525&view=rev
Log:
Minor - move completion message to proper place.

Modified:
    axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java

Modified: axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
URL: http://svn.apache.org/viewvc/axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java?rev=1026525&r1=1026524&r2=1026525&view=diff
==============================================================================
--- axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java (original)
+++ axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java Fri Oct 22 23:24:05 2010
@@ -124,7 +124,12 @@ public class WSDL2Ws
             
             if (e.getMessage() != null)
                 System.out.println("\nCode generation failed. Please see errors above.\n");
+            
+            return;
         }
+        
+        // Indicate code generation complete and show where stored.
+        System.out.println("\nCode generation completed. Generated files in directory\n'" + c_cmdLineArgs.getOutputDirectory() + "'.");
     }    
     
     /**
@@ -293,9 +298,6 @@ public class WSDL2Ws
         
         // Generate code
         wsg.generate();
-        
-        // Indicate code generation complete and show where stored.
-        System.out.println("\nCode generation completed. Generated files in directory\n'" + c_cmdLineArgs.getOutputDirectory() + "'.");
     }    
     
     // The following 3 exposeXXX methods attempts to expose anonymous types so that