[jboss-cvs] JBossAS SVN: r65048 - trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 4 11:35:32 EDT 2007


Author: remy.maucherat at jboss.com
Date: 2007-09-04 11:35:32 -0400 (Tue, 04 Sep 2007)
New Revision: 65048

Modified:
   trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java
Log:
- With VFS, these URLs are "vfsfile" rather than "file". As a
  result, the check is no longer appropriate.

Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java	2007-09-04 15:26:58 UTC (rev 65047)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java	2007-09-04 15:35:32 UTC (rev 65048)
@@ -677,7 +677,7 @@
       String result = null;
       // See if the warUrl is a dir or a file
       File warFile = new File(warURL.getFile());
-      if (warURL.getProtocol().equals("file") && warFile.isDirectory() == true)
+      if (warFile.isDirectory() == true)
       {
          File webDD = new File(warFile, CONTEXT_CONFIG_FILE);
          if (webDD.exists() == true)




More information about the jboss-cvs-commits mailing list