You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/06/22 18:04:13 UTC

svn commit: r549858 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/repository/util/ArchiveReader.java

Author: dims
Date: Fri Jun 22 09:04:13 2007
New Revision: 549858

URL: http://svn.apache.org/viewvc?view=rev&rev=549858
Log:
Fix for AXIS2-2584 - AAR deployment fails with a WSDL 2 document due to spaces in path to AAR file (interpreted as a URI)

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/repository/util/ArchiveReader.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/repository/util/ArchiveReader.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/repository/util/ArchiveReader.java?view=diff&rev=549858&r1=549857&r2=549858
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/repository/util/ArchiveReader.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/repository/util/ArchiveReader.java Fri Jun 22 09:04:13 2007
@@ -212,14 +212,14 @@
                             new AARBasedWSDLLocator(baseURI, serviceArchiveFile, in));
                 } else if (axisServiceBuilder instanceof WSDL20ToAllAxisServicesBuilder) {
                     // trying to use the jar scheme as the base URI. I think this can be used to handle
-                    // wsdl 1.1 as well without using a custome URI resolver. Need to look at it later.
+                    // wsdl 1.1 as well without using a custom URI resolver. Need to look at it later.
                     axisServiceBuilder.setBaseUri(
                             "jar:file://" + serviceArchiveFile.toURI() + "!/" + baseURI);
                 }
             } else {
                 if (serviceArchiveFile != null) {
                     axisServiceBuilder.setBaseUri(
-                            serviceArchiveFile.getParentFile().getAbsolutePath());
+                            serviceArchiveFile.getParentFile().toURI().toString());
                 }
             }
             if(axisServiceBuilder instanceof WSDL11ToAllAxisServicesBuilder ) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org