geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r655899 - /geronimo/server/branches/2.1/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
Date Tue, 13 May 2008 15:06:19 GMT
Author: dwoods
Date: Tue May 13 08:06:18 2008
New Revision: 655899

URL: http://svn.apache.org/viewvc?rev=655899&view=rev
Log:
GERONIMO-3975 PlanCreator fails to deploy an application when Geronimo is installed into a
directory with white space.  Patch from Yun Feng Ma.

Modified:
    geronimo/server/branches/2.1/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java

Modified: geronimo/server/branches/2.1/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java?rev=655899&r1=655898&r2=655899&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
(original)
+++ geronimo/server/branches/2.1/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
Tue May 13 08:06:18 2008
@@ -129,7 +129,7 @@
 
     private static ApplicationInfo createApplicationInfo(PortletRequest request, URL moduleUrl)
throws Exception {
         ConfigurationBuilder configurationBuilderBuilder = getConfigurationBuilder(request);
-        File moduleFile = new File(moduleUrl.toURI());
+        File moduleFile = new File(moduleUrl.getFile());
         JarFile moduleJar = new JarFile(moduleFile);
         ApplicationInfo applicationInfo = (ApplicationInfo) configurationBuilderBuilder.getDeploymentPlan(null,
moduleJar,
                 new ModuleIDBuilder());



Mime
View raw message