User: starksm 
  Date: 01/12/29 13:57:20

  Modified:    src/main/org/jboss/deployment ServiceDeployer.java
  Log:
  Fix the invalid file URL constructs that were using the platform
  dependent path seperator rather than '/'.
  
  Revision  Changes    Path
  1.21      +3 -3      jboss/src/main/org/jboss/deployment/ServiceDeployer.java
  
  Index: ServiceDeployer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/ServiceDeployer.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ServiceDeployer.java      2001/12/20 06:11:12     1.20
  +++ ServiceDeployer.java      2001/12/29 21:57:20     1.21
  @@ -49,7 +49,7 @@
   * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
   * @author <a href="mailto:[EMAIL PROTECTED]";>David Maplesden</a>
   * @author <a href="mailto:[EMAIL PROTECTED]";>David Jencks</a>
  -* @version   $Revision: 1.20 $ <p>
  +* @version   $Revision: 1.21 $ <p>
   *
   *      <b>20010830 marc fleury:</b>
   *      <ul>initial import
  @@ -406,9 +406,9 @@
               }
               
               // Let's make sure the formatting of the codebase ends with the /
  -            if (codebase.startsWith("file:") && !codebase.endsWith(File.separator))
  +            if (codebase.startsWith("file:") && !codebase.endsWith("/"))
               {
  -               codebase += File.separator;
  +               codebase += "/";
               }
               else if (codebase.startsWith("http:") && !codebase.endsWith("/"))
               {
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to