axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r538816 - /webservices/axis2/branches/java/1_2/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java
Date Thu, 17 May 2007 06:34:43 GMT
Author: amilas
Date: Wed May 16 23:34:42 2007
New Revision: 538816

URL: http://svn.apache.org/viewvc?view=rev&rev=538816
Log:
applied the patch for AXIS2-1809

Modified:
    webservices/axis2/branches/java/1_2/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java

Modified: webservices/axis2/branches/java/1_2/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java?view=diff&rev=538816&r1=538815&r2=538816
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java
(original)
+++ webservices/axis2/branches/java/1_2/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java
Wed May 16 23:34:42 2007
@@ -581,7 +581,7 @@
                 systemId = systemId.substring("project://local/".length());
             }
 
-            StringTokenizer pathElements = new StringTokenizer(systemId, File.separator);
+            StringTokenizer pathElements = new StringTokenizer(systemId, "/");
             Stack pathElementStack = new Stack();
             while (pathElements.hasMoreTokens()) {
                 String pathElement = pathElements.nextToken();
@@ -595,7 +595,7 @@
             }
             StringBuffer pathBuilder = new StringBuffer();
             for (Iterator iter = pathElementStack.iterator(); iter.hasNext();) {
-                pathBuilder.append(File.separator + iter.next());
+                pathBuilder.append("/" + iter.next());
             }
             systemId = pathBuilder.toString().substring(1);
 



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