karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthick (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3292) Karaf Client Script to recognise a delimiter (: or ;) so that multiple commands can be executed at once
Date Thu, 13 Nov 2014 23:37:34 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211482#comment-14211482
] 

Karthick commented on KARAF-3292:
---------------------------------

looks like this is already available. see usage below. This can be closed.

alagu@alagu:~/softwares/apache-karaf-3.0.1$ bin/client "install -s mvn:HelloWorldOSGIEquinox/HelloWorldOSGIEquinox/0.0.2-SNAPSHOT
; install -s mvn:HelloWorldOSGIEquinox/HelloWorldOSGIEquinox/0.0.1-SNAPSHOT"
Logging in as karaf
326 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier -
Server at /0.0.0.0:8101 presented unverified key: 
Bundle ID: 81
Bundle ID: 82


> Karaf Client Script to recognise a delimiter (: or ;) so that multiple commands can be
executed at once
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-3292
>                 URL: https://issues.apache.org/jira/browse/KARAF-3292
>             Project: Karaf
>          Issue Type: Wish
>          Components: karaf-core
>    Affects Versions: 4.0.0.M1
>         Environment: Any Operating system
>            Reporter: Karthick
>            Priority: Trivial
>
> The Karaf bin/client command can be used to connect to the karaf shell and execute one
command at a time. 
> Scenario:
> If I wanted to install 10 bundles at a time, I would have to run the client command 10
times, each time passing in the argument one by one. 
> So time to install a bundle is = connect time + install time + disconnect time.
> time to install 10 bundles is = 10 * (connect time + install time + disconnect time).
> Wish:
> is to be able to give multiple commands at a time like 
> bin/client "install bundle1; install bundle2; install bundle3; install bundle4;..."
> so that time to install 10 bundles would be now
> =connect time + (10 * install time) + disconnect time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message