geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1028594 - /geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
Date Fri, 29 Oct 2010 03:26:35 GMT
Author: xuhaihong
Date: Fri Oct 29 03:26:34 2010
New Revision: 1028594

URL: http://svn.apache.org/viewvc?rev=1028594&view=rev
Log:
GERONIMO-4757 "java.lang.IllegalStateException" error when use install-plugin goal (Based
on the patch from viola.lu)

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java?rev=1028594&r1=1028593&r2=1028594&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
Fri Oct 29 03:26:34 2010
@@ -108,6 +108,7 @@ public class PluginRepositoryDownloader 
            userRepository = userRepository + "/";
         }
         try {
+            userRepository = userRepository.replaceAll(" ", "%20");
             URI uri = new URI(userRepository);
             if (!uri.isAbsolute()) {
                 if (userRepository.startsWith("/")) {



Mime
View raw message