geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1028596 - /geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
Date Fri, 29 Oct 2010 03:28:14 GMT
Author: xuhaihong
Date: Fri Oct 29 03:28:14 2010
New Revision: 1028596

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

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

Modified: geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java?rev=1028596&r1=1028595&r2=1028596&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java
Fri Oct 29 03:28:14 2010
@@ -88,7 +88,7 @@ public class PluginRepositoryDownloader 
         name = null;
         repositoryList = null;
     }
-    
+
     /**
      * The list of repositories that were downloaded from central.
      */
@@ -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