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 ve...@apache.org on 2010/12/19 13:12:33 UTC
svn commit: r1050823 -
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
Author: veithen
Date: Sun Dec 19 12:12:32 2010
New Revision: 1050823
URL: http://svn.apache.org/viewvc?rev=1050823&view=rev
Log:
Fixed an issue that occurs when deploying a classpath module from a path that contains spaces.
Modified:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java?rev=1050823&r1=1050822&r2=1050823&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java (original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java Sun Dec 19 12:12:32 2010
@@ -134,7 +134,7 @@ public class RepositoryListener implemen
String path = url.getPath();
int idx = path.lastIndexOf("!/");
if (idx != -1 && path.substring(idx+2).equals("META-INF/module.xml")) {
- moduleURI = new URI(path.substring(0, idx));
+ moduleURI = new URI(path.substring(0, idx).replaceAll(" ", "%20"));
if (!moduleURI.getScheme().equals("file")) {
continue;
}