Ahh.  Never mind my previous email.

Can we make the non-xml bit debug?

--jason


David Jencks wrote:

>  User: d_jencks
>  Date: 02/02/24 18:54:22
>
>  Modified:    src/main/org/jboss/deployment MainDeployer.java
>  Log:
>  Should work better on windows now
>  
>  Revision  Changes    Path
>  1.4       +11 -2     jboss-system/src/main/org/jboss/deployment/MainDeployer.java
>  
>  Index: MainDeployer.java
>  ===================================================================
>  RCS file: 
>/cvsroot/jboss/jboss-system/src/main/org/jboss/deployment/MainDeployer.java,v
>  retrieving revision 1.3
>  retrieving revision 1.4
>  diff -u -r1.3 -r1.4
>  --- MainDeployer.java        25 Feb 2002 02:33:16 -0000      1.3
>  +++ MainDeployer.java        25 Feb 2002 02:54:22 -0000      1.4
>  @@ -47,7 +47,7 @@
>    *
>    * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
>    * @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>
>  - * @version $Revision: 1.3 $
>  + * @version $Revision: 1.4 $
>    */
>   public class MainDeployer
>      extends ServiceMBeanSupport
>  @@ -1062,7 +1062,16 @@
>            }
>            else
>            {
>  -            sdi.localUrl =  new File(tempDir,  sdi.url.getFile()).toURL();
>  +            //remove windows : from c:\nowhere.  There must be a better way to do 
>this...
>  +            StringBuffer path = new StringBuffer(sdi.url.getFile());
>  +            for (int i = path.length() - 1; i > -1; i--)
>  +            {
>  +               if (path.charAt(i) == ':') 
>  +               {
>  +                  path.deleteCharAt(i);
>  +               } // end of if ()
>  +            } // end of for ()
>  +            sdi.localUrl =  new File(tempDir,  path.toString()).toURL();
>               copy(sdi.url, sdi.localUrl);
>            }
>         }
>  
>  
>  
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>



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

Reply via email to