You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by de...@apache.org on 2011/01/23 06:06:11 UTC

svn commit: r1062323 - /axis/axis2/java/core/trunk/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/FileWriter.java

Author: deepal
Date: Sun Jan 23 05:06:11 2011
New Revision: 1062323

URL: http://svn.apache.org/viewvc?rev=1062323&view=rev
Log:
applying the patch in https://issues.apache.org/jira/browse/AXIS2-4934

Modified:
    axis/axis2/java/core/trunk/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/FileWriter.java

Modified: axis/axis2/java/core/trunk/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/FileWriter.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/FileWriter.java?rev=1062323&r1=1062322&r2=1062323&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/FileWriter.java (original)
+++ axis/axis2/java/core/trunk/modules/codegen/src/org/apache/axis2/wsdl/codegen/writer/FileWriter.java Sun Jan 23 05:06:11 2011
@@ -171,7 +171,7 @@ public abstract class FileWriter {
      * @throws Exception
      */
     public void parse(Document doc, URIResolver resolver) throws Exception {
-        if (!fileExists) {
+        if (!fileExists || this.isOverride()) {
             XSLTTemplateProcessor.parse(this.stream,
                                         doc,
                                         this.xsltStream,