You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/01/04 15:51:57 UTC

svn commit: r895650 - /james/server/sandbox/active/pure_spring_deployment/spring-deployment/src/main/java/org/apache/james/container/spring/JamesServerApplicationContext.java

Author: norman
Date: Mon Jan  4 14:51:57 2010
New Revision: 895650

URL: http://svn.apache.org/viewvc?rev=895650&view=rev
Log:
Fix substring

Modified:
    james/server/sandbox/active/pure_spring_deployment/spring-deployment/src/main/java/org/apache/james/container/spring/JamesServerApplicationContext.java

Modified: james/server/sandbox/active/pure_spring_deployment/spring-deployment/src/main/java/org/apache/james/container/spring/JamesServerApplicationContext.java
URL: http://svn.apache.org/viewvc/james/server/sandbox/active/pure_spring_deployment/spring-deployment/src/main/java/org/apache/james/container/spring/JamesServerApplicationContext.java?rev=895650&r1=895649&r2=895650&view=diff
==============================================================================
--- james/server/sandbox/active/pure_spring_deployment/spring-deployment/src/main/java/org/apache/james/container/spring/JamesServerApplicationContext.java (original)
+++ james/server/sandbox/active/pure_spring_deployment/spring-deployment/src/main/java/org/apache/james/container/spring/JamesServerApplicationContext.java Mon Jan  4 14:51:57 2010
@@ -49,7 +49,7 @@
             } else if (fileURL.startsWith(FILE_PROTOCOL_AND_VAR)) {
                 file = new File("../var/" + fileURL.substring(FILE_PROTOCOL_AND_VAR.length()));
             } else if (fileURL.startsWith(FILE_PROTOCOL_ABSOLUTE)) {
-            	file = new File("/" + fileURL.substring(FILE_PROTOCOL.length()));
+            	file = new File("/" + fileURL.substring(FILE_PROTOCOL_ABSOLUTE.length()));
             } else {
             	// move to the root folder of the spring deployment
                 file = new File("../" + fileURL.substring(FILE_PROTOCOL.length()));



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