You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2010/06/25 04:50:55 UTC

svn commit: r957788 - /cxf/xjc-utils/trunk/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java

Author: dkulp
Date: Fri Jun 25 02:50:55 2010
New Revision: 957788

URL: http://svn.apache.org/viewvc?rev=957788&view=rev
Log:
Map more chars that cause issues for windows

Modified:
    cxf/xjc-utils/trunk/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java

Modified: cxf/xjc-utils/trunk/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java
URL: http://svn.apache.org/viewvc/cxf/xjc-utils/trunk/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java?rev=957788&r1=957787&r2=957788&view=diff
==============================================================================
--- cxf/xjc-utils/trunk/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java (original)
+++ cxf/xjc-utils/trunk/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java Fri Jun 25 02:50:55 2010
@@ -179,7 +179,8 @@ public abstract class AbstractXSDToJavaM
                 }
                 
                 doneFileName = doneFileName.replace('?', '_')
-                    .replace('&', '_').replace('/', '_').replace('\\', '_');
+                    .replace('&', '_').replace('/', '_').replace('\\', '_')
+                    .replace(':', '_').replace('!', '_');
                 
                 // If URL to WSDL, replace ? and & since they're invalid chars for file names
                 File doneFile =