geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1028595 - /geronimo/server/branches/2.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
Date Fri, 29 Oct 2010 03:27:23 GMT
Author: xuhaihong
Date: Fri Oct 29 03:27:22 2010
New Revision: 1028595

URL: http://svn.apache.org/viewvc?rev=1028595&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.2/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java

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



Mime
View raw message