[jboss-cvs] JBossAS SVN: r88946 - projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri May 15 08:08:51 EDT 2009


Author: alesj
Date: 2009-05-15 08:08:50 -0400 (Fri, 15 May 2009)
New Revision: 88946

Modified:
   projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java
Log:
Add version cmd.

Modified: projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java
===================================================================
--- projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java	2009-05-15 11:44:52 UTC (rev 88945)
+++ projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java	2009-05-15 12:08:50 UTC (rev 88946)
@@ -21,25 +21,26 @@
  */
 package org.jboss.fresh.shell.impl;
 
+import org.jboss.fresh.shell.Executable;
 import org.jboss.fresh.shell.ExecutableRegistry;
-import org.jboss.fresh.shell.Executable;
 import org.jboss.fresh.shell.commands.CDExe;
-import org.jboss.fresh.shell.commands.SetCommand;
-import org.jboss.fresh.shell.commands.RunExe;
+import org.jboss.fresh.shell.commands.CatExe;
+import org.jboss.fresh.shell.commands.CpExe;
+import org.jboss.fresh.shell.commands.EchoExe;
+import org.jboss.fresh.shell.commands.InfoExe;
+import org.jboss.fresh.shell.commands.LnExe;
 import org.jboss.fresh.shell.commands.LsExe;
-import org.jboss.fresh.shell.commands.CatExe;
+import org.jboss.fresh.shell.commands.LsLnsExe;
 import org.jboss.fresh.shell.commands.MkDirExe;
-import org.jboss.fresh.shell.commands.LnExe;
-import org.jboss.fresh.shell.commands.TouchExe;
+import org.jboss.fresh.shell.commands.MvExe;
+import org.jboss.fresh.shell.commands.PosExe;
 import org.jboss.fresh.shell.commands.RmExe;
+import org.jboss.fresh.shell.commands.RunExe;
 import org.jboss.fresh.shell.commands.SetAttrExe;
-import org.jboss.fresh.shell.commands.InfoExe;
-import org.jboss.fresh.shell.commands.CpExe;
-import org.jboss.fresh.shell.commands.MvExe;
-import org.jboss.fresh.shell.commands.EchoExe;
-import org.jboss.fresh.shell.commands.PosExe;
-import org.jboss.fresh.shell.commands.LsLnsExe;
+import org.jboss.fresh.shell.commands.SetCommand;
 import org.jboss.fresh.shell.commands.SetFileFieldExe;
+import org.jboss.fresh.shell.commands.TouchExe;
+import org.jboss.fresh.shell.commands.VersionExe;
 
 /**
  * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
@@ -84,6 +85,8 @@
          return new LsLnsExe();
       } else if ("setffld".equals(command)) {
          return new SetFileFieldExe();
+      } else if ("version".equals(command)) {
+         return new VersionExe();
       } else {
          return null;
       }




More information about the jboss-cvs-commits mailing list