geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r741042 - in /geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry: CommandResolverImpl.java GroupDirectoryResolver.java
Date Thu, 05 Feb 2009 08:17:39 GMT
Author: gnodet
Date: Thu Feb  5 08:17:39 2009
New Revision: 741042

URL: http://svn.apache.org/viewvc?rev=741042&view=rev
Log:
GSHELL-157: Dynamically adding / removing commands does not work well

Modified:
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/CommandResolverImpl.java
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/GroupDirectoryResolver.java

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/CommandResolverImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/CommandResolverImpl.java?rev=741042&r1=741041&r2=741042&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/CommandResolverImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/CommandResolverImpl.java
Thu Feb  5 08:17:39 2009
@@ -114,7 +114,7 @@
 
     private FileObject getAliasesRoot() throws FileSystemException {
         if (aliasesRoot == null) {
-            aliasesRoot = fileSystemAccess.createVirtualFileSystem(ALIASES_ROOT);
+            aliasesRoot = fileSystemAccess.resolveFile(null, ALIASES_ROOT);
         }
 
         return aliasesRoot;
@@ -147,7 +147,7 @@
 
     private FileObject getCommandsRoot() throws FileSystemException {
         if (commandsRoot == null) {
-            commandsRoot = fileSystemAccess.createVirtualFileSystem(COMMANDS_ROOT);
+            commandsRoot = fileSystemAccess.resolveFile(null, COMMANDS_ROOT);
         }
 
         return commandsRoot;

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/GroupDirectoryResolver.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/GroupDirectoryResolver.java?rev=741042&r1=741041&r2=741042&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/GroupDirectoryResolver.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/registry/GroupDirectoryResolver.java
Thu Feb  5 08:17:39 2009
@@ -48,7 +48,7 @@
 
     private FileObject getCommandsRoot() throws FileSystemException {
         if (commandsRoot == null) {
-            commandsRoot = fileSystemAccess.createVirtualFileSystem(CommandResolver.COMMANDS_ROOT);
+            commandsRoot = fileSystemAccess.resolveFile(null, CommandResolver.COMMANDS_ROOT);
         }
 
         return commandsRoot;



Mime
View raw message