karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1268) Allow multiple commands in karaf script
Date Thu, 15 Mar 2012 19:10:40 GMT

     [ 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

        

Mime
View raw message