felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-1104) Allow osgi/stop command to specify more than one bundle per command entry.
Date Thu, 30 Apr 2009 16:50:30 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Nodet resolved FELIX-1104.

       Resolution: Fixed
    Fix Version/s: karaf-1.0.0

Sending        gshell/gshell-osgi/src/main/java/org/apache/servicemix/kernel/gshell/osgi/BundleCommand.java
Sending        gshell/gshell-osgi/src/main/java/org/apache/servicemix/kernel/gshell/osgi/BundlesCommand.java
Sending        gshell/gshell-osgi/src/main/java/org/apache/servicemix/kernel/gshell/osgi/RestartBundle.java
Sending        gshell/gshell-osgi/src/main/java/org/apache/servicemix/kernel/gshell/osgi/StartBundle.java
Sending        gshell/gshell-osgi/src/main/java/org/apache/servicemix/kernel/gshell/osgi/StopBundle.java
Sending        gshell/gshell-osgi/src/main/java/org/apache/servicemix/kernel/gshell/osgi/Util.java
Transmitting file data ......
Committed revision 770318.

Slightly refactored patch to move most of the logic into the BundlesCommand

> Allow osgi/stop command to specify more than one bundle per command entry.
> --------------------------------------------------------------------------
>                 Key: FELIX-1104
>                 URL: https://issues.apache.org/jira/browse/FELIX-1104
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>         Environment: Linux
>            Reporter: Jamie goodyear
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.0
>         Attachments: FELIX-1104-2.txt, FELIX-1104.txt
> Allow osgi/stop command to specify more than one bundle per command entry.
> Encountered during SMX Kernel usage:
> smx@root:osgi> stop 180 177 176 173
> ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException:
org.apache.geronimo.gshell.clp.ProcessingException: Too many arguments: 177
> In the above example a user would have to enter 'stop 180', 'stop 177', 'stop 176', and
then finally 'stop173'.  It would be nice to be able to specify a list of bundles to stop,
in order, instead of having to issue a 'stop bundleId' command for each bundle.

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

View raw message