axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r607226 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/ServiceXMLWriter.java
Date Fri, 28 Dec 2007 12:46:22 GMT
Author: amilas
Date: Fri Dec 28 04:46:20 2007
New Revision: 607226

URL: http://svn.apache.org/viewvc?rev=607226&view=rev
Log:
fixed the issue Axis2-3348

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/ServiceXMLWriter.java

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/ServiceXMLWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/ServiceXMLWriter.java?rev=607226&r1=607225&r2=607226&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/ServiceXMLWriter.java
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/ServiceXMLWriter.java
Fri Dec 28 04:46:20 2007
@@ -19,6 +19,8 @@
 
 package org.apache.axis2.wsdl.codegen.writer;
 
+import org.apache.axis2.i18n.Messages;
+
 import java.io.File;
 import java.io.FileOutputStream;
 
@@ -42,9 +44,10 @@
                                                      ".xml");
         //set the existing flag
         fileExists = outputFile.exists();
-        if (!fileExists) {
+        if (!fileExists || this.isOverride) {
             this.stream = new FileOutputStream(outputFile);
         }
+        
     }
 }
 



---------------------------------------------------------------------
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