User: d_jencks
  Date: 02/04/13 18:19:49

  Modified:    src/main/org/jboss/resource RARDeployer.java
  Log:
  Larry Sanderson's patch to enable deploying unpacked directories
  
  Revision  Changes    Path
  1.25      +5 -5      jbosscx/src/main/org/jboss/resource/RARDeployer.java
  
  Index: RARDeployer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosscx/src/main/org/jboss/resource/RARDeployer.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- RARDeployer.java  9 Apr 2002 01:06:38 -0000       1.24
  +++ RARDeployer.java  14 Apr 2002 01:19:48 -0000      1.25
  @@ -54,7 +54,7 @@
    *
    * @author     Toby Allsopp ([EMAIL PROTECTED])
    * @author     <a href="mailto:[EMAIL PROTECTED]";>David Jencks</a>
  - * @version    $Revision: 1.24 $
  + * @version    $Revision: 1.25 $
    * @see        org.jboss.resource.ConnectionFactoryLoader <p>
    *
    * <b>Revisions:</b> <p>
  @@ -100,10 +100,8 @@
       */
      public boolean accepts(DeploymentInfo sdi) 
      {
  -      // To be accepted the deployment's root name must end in rar
  -      if (sdi.url.getFile().endsWith("rar")) return true;
  -         
  -      else return false;
  +      String urlStr = sdi.url.toString();
  +      return urlStr.endsWith("rar") || urlStr.endsWith("rar/");
      }
      
      /**
  @@ -171,6 +169,8 @@
         throw new DeploymentException("problem with init in RARDeployer ", e);
         }
      
  +      // invoke super-class initialization
  +      processNestedDeployments(rdi);
      }
      
      /**  
  
  
  

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

Reply via email to