You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jonathan Anstey (Updated) (JIRA)" <ji...@apache.org> on 2012/03/15 20:10:40 UTC

[jira] [Updated] (KARAF-1268) Allow multiple commands in karaf script

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

Jonathan Anstey updated KARAF-1268:
-----------------------------------

    Attachment: KARAF-1268.patch

Patch that fixes the issue on 2.2.x branch.

It loops through all arguments now so you can even do something like:

./bin/karaf clean debug server

Funny thing is that this is now the same behaviour as the karaf.bat script has always had :)
                
> Allow multiple commands in karaf script
> ---------------------------------------
>
>                 Key: KARAF-1268
>                 URL: https://issues.apache.org/jira/browse/KARAF-1268
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.5
>            Reporter: Jonathan Anstey
>         Attachments: KARAF-1268.patch
>
>
> If you follow the steps at http://karaf.apache.org/manual/latest-2.2.x/users-guide/start-stop.html under "Starting Karaf from clean" it tells you to run:
> bin/start clean
> which won't actually work. It runs "bin/karaf server clean" under the hood and the karaf script only looks at the first command passed in, so clean is ignored.
> Attaching a patch shortly to fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira