r1854 - in trunk/core/kune-cli: . src/main/java/cc/kune/kunecli
Author: vjrj_ Date: 2012-04-17 03:47:11 +0200 (Tue, 17 Apr 2012) New Revision: 1854 Added: trunk/core/kune-cli/README Modified: trunk/core/kune-cli/src/main/java/cc/kune/kunecli/KuneCliMain.java Log: NEW - # 240: Add a command cli to kune http://kune.ourproject.org/issues/ticket/240 Added: trunk/core/kune-cli/README =================================================================== --- trunk/core/kune-cli/README (rev 0) +++ trunk/core/kune-cli/README 2012-04-17 01:47:11 UTC (rev 1854) @@ -0,0 +1 @@ +mvn exec:java -Dexec.args="hello" Modified: trunk/core/kune-cli/src/main/java/cc/kune/kunecli/KuneCliMain.java =================================================================== --- trunk/core/kune-cli/src/main/java/cc/kune/kunecli/KuneCliMain.java 2012-04-17 00:58:51 UTC (rev 1853) +++ trunk/core/kune-cli/src/main/java/cc/kune/kunecli/KuneCliMain.java 2012-04-17 01:47:11 UTC (rev 1854) @@ -60,7 +60,13 @@ MalformedURLException { initServices(); - + + // TODO: integrate jline or similar + // http://jline.sourceforge.net/index.html + + //http://sourceforge.net/projects/javacurses/ + //http://massapi.com/class/jcurses/widgets/Button.java.html + Command showDateCommand = new Command("hello world [<name:string>]", "Says hello to the world and, may be, especially to some one.", new ICommandExecutor() { public void execute(ParseResult pr) { @@ -132,6 +138,8 @@ } private static void initServices() throws MalformedURLException { + // http://code.google.com/p/gwtrpccommlayer/wiki/GettingStarted + // http://googlewebtoolkit.blogspot.com.es/2010/07/gwtrpccommlayer-extending-gw... Injector injector = Guice.createInjector(new Module()); GwtRpcService service = injector.getInstance(GwtRpcService.class);
participants (1)
-
Vicente J. Ruiz Jurado