You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2008/05/13 17:06:19 UTC

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

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());