james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r537572 - /james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/test/mock/james/MockFileSystem.java
Date Sun, 13 May 2007 10:22:30 GMT
Author: rdonkin
Date: Sun May 13 03:22:25 2007
New Revision: 537572

URL: http://svn.apache.org/viewvc?view=rev&rev=537572
Log:
Not very happy about hard coded path. However, haven't really sorted out issues with integration
testing on trunk yet.

Modified:
    james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/test/mock/james/MockFileSystem.java

Modified: james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/test/mock/james/MockFileSystem.java
URL: http://svn.apache.org/viewvc/james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/test/mock/james/MockFileSystem.java?view=diff&rev=537572&r1=537571&r2=537572
==============================================================================
--- james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/test/mock/james/MockFileSystem.java
(original)
+++ james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/test/mock/james/MockFileSystem.java
Sun May 13 03:22:25 2007
@@ -32,7 +32,7 @@
     public File getFile(String fileURL) throws FileNotFoundException {
         if (fileURL.startsWith("file://")) {
             if (fileURL.startsWith("file://conf/")) {
-                return new File("./src"+fileURL.substring(6));
+                return new File("../phoenix-deployment/src"+fileURL.substring(6));
             } else {
                 throw new UnsupportedOperationException("getFile: "+fileURL);
             }



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


Mime
View raw message