tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r617736 - /tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java
Date Sat, 02 Feb 2008 01:33:12 GMT
Author: fhanik
Date: Fri Feb  1 17:33:05 2008
New Revision: 617736

URL: http://svn.apache.org/viewvc?rev=617736&view=rev
Log:
fix file paths

Modified:
    tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java

Modified: tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java?rev=617736&r1=617735&r2=617736&view=diff
==============================================================================
--- tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java (original)
+++ tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java Fri Feb
 1 17:33:05 2008
@@ -247,13 +247,13 @@
         }
         if (tmpFile.isDirectory()) {
             if (log.isDebugEnabled()) log.debug("Adding directory to virtual repo:"+tmpFile.getAbsolutePath());
-            addRepository("file:/" + tmpFile.getAbsolutePath() + "/");
+            addRepository("file:" + tmpFile.getAbsolutePath() + "/");
         } else if (tmpFile.getAbsolutePath().endsWith(".jar") && separateJars) {
             //addRepository("file:/" + tmpFile.getAbsolutePath());
             jarFiles.add(tmpFile.getAbsolutePath());
         } else {
             if (log.isDebugEnabled()) log.debug("Adding file to virtual repo:"+tmpFile.getAbsolutePath());
-            addRepository("file:/" + tmpFile.getAbsolutePath());
+            addRepository("file:" + tmpFile.getAbsolutePath());
         }
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message