1 Reply Latest reply on Aug 3, 2009 5:22 AM by jaikiran pai

    Exploding Deployment contents in AbstractWarDeployer

    Andrew Rubinger Master

      When using a vfsmemory:// archive as my deployment root, I'm finding that the full contents aren't copied into the un-jarred root used by AbstractWarDeployer. This means that any in-memory resources are missing from the deployment.

      So I've opened:


      ..and applied this patch:

      Index: server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java
      --- server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java (revision 91204)
      +++ server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java (working copy)
       -357,7 +357,7 @@
       VFSDeploymentUnit vfsUnit = (VFSDeploymentUnit)unit;
       VirtualFile root = vfsUnit.getRoot();
      - VirtualFile unjared = VFSUtils.unjar(root);
      + VirtualFile unjared = VFSUtils.explode(root);
       // file was not unjared yet
       if (root != unjared)

      Please let me know if you feel this is in error.