geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment Deployer.java
Date Thu, 04 Mar 2004 03:37:24 GMT
adc         2004/03/03 19:37:24

  Modified:    modules/deployment/src/java/org/apache/geronimo/deployment
                        Deployer.java
  Log:
  Fix for spaces in module path.
  
  Revision  Changes    Path
  1.15      +2 -2      incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java
  
  Index: Deployer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Deployer.java	29 Feb 2004 06:11:32 -0000	1.14
  +++ Deployer.java	4 Mar 2004 03:37:24 -0000	1.15
  @@ -115,7 +115,7 @@
               if (cmd.module == null) {
                   builder.buildConfiguration(cmd.carfile, (JarInputStream) null, plan);
               } else if ("file".equals(cmd.module.getProtocol())) {
  -                File module = new File(cmd.module.getPath());
  +                File module = new File(new URI(cmd.module.toString()));
                   builder.buildConfiguration(cmd.carfile, module, plan);
               } else if (cmd.module.toString().endsWith("/")) {
                   throw new DeploymentException("Unpacked modules must be files");
  
  
  

Mime
View raw message