[jboss-cvs] JBossAS SVN: r57737 - projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 19 15:09:45 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-10-19 15:09:43 -0400 (Thu, 19 Oct 2006)
New Revision: 57737

Modified:
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java
Log:
Remove the isArchive check

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java	2006-10-19 19:08:17 UTC (rev 57736)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java	2006-10-19 19:09:43 UTC (rev 57737)
@@ -573,8 +573,8 @@
          // There isn't a metadata location so let's see whether the root matches.
          if (metaDataLocation == null)
          {
-            // It has to be a plain file that is not an archive
-            if (root != null && root.isLeaf() && root.isArchive() == false)
+            // It has to be a plain file
+            if (root != null && root.isLeaf())
             {
                String fileName = root.getName();
                if (fileName.equals(name))
@@ -607,8 +607,8 @@
          // i.e. the top level is an xml
          if (metaDataLocation == null)
          {
-            // It has to be a plain file that is not an archive
-            if (root != null && root.isLeaf() && root.isArchive() == false)
+            // It has to be a plain file
+            if (root != null && root.isLeaf())
             {
                String fileName = root.getName();
                if (name != null && fileName.equals(name))




More information about the jboss-cvs-commits mailing list