geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r705581 - /geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/java/org/apache/geronimo/gshell/vfs/FileSystemAccessImpl.java
Date Fri, 17 Oct 2008 12:30:40 GMT
Author: gnodet
Date: Fri Oct 17 05:30:40 2008
New Revision: 705581

URL: http://svn.apache.org/viewvc?rev=705581&view=rev
Log:
Fix current dir resolution

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/java/org/apache/geronimo/gshell/vfs/FileSystemAccessImpl.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/java/org/apache/geronimo/gshell/vfs/FileSystemAccessImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/java/org/apache/geronimo/gshell/vfs/FileSystemAccessImpl.java?rev=705581&r1=705580&r2=705581&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/java/org/apache/geronimo/gshell/vfs/FileSystemAccessImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/java/org/apache/geronimo/gshell/vfs/FileSystemAccessImpl.java
Fri Oct 17 05:30:40 2008
@@ -71,7 +71,7 @@
             log.trace("CWD not set, resolving from user.dir");
 
             // TODO: May need to ask the Application for this, as it might be different depending
on the context (ie. remote user, etc)
-            String userDir = System.getProperty("user.dir");
+            String userDir = "file://" + System.getProperty("user.dir");
             cwd = getManager().resolveFile(userDir);
         }
 



Mime
View raw message