You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jamie Goodyear (JIRA)" <ji...@apache.org> on 2008/09/05 21:07:52 UTC

[jira] Updated: (SMX4KNL-75) Modify GShell argument processing to execute multiple commands.

     [ https://issues.apache.org/activemq/browse/SMX4KNL-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie Goodyear updated SMX4KNL-75:
----------------------------------

    Attachment: smx4knl-75.txt

Modification to:
gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java

Will allow for multiple commands to be executed on the command line.

> Modify GShell argument processing to execute multiple commands.
> ---------------------------------------------------------------
>
>                 Key: SMX4KNL-75
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-75
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>         Environment: All
>            Reporter: Jamie Goodyear
>         Attachments: smx4knl-75.txt
>
>
> Modify GShell argument processing to execute multiple commands.
> modify file: 
> trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java:
> replace: 
> Object value = shell.execute((Object[]) args);
> with: 
> Object value = null;
> for (String arg : args) {
>     value = shell.execute(arg);
> }
>  Details:
>  This modification will allow the kernel to process multiple commands issued on the command line as follows:
>  bin>./servicemix "osgi list" "osgi list" "exit"
>  This will print out the list of installed bundles twice, then exit.
>  Note: usage of "utils sleep 10000" will stop rendering of text to stdout.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.