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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 20:06:37 UTC
[jira] [Created] (KARAF-1268) Allow multiple commands in karaf
script
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
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
[jira] [Issue Comment Edited] (KARAF-1268) Allow multiple commands
in karaf script
Posted by "Jamie goodyear (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230573#comment-13230573 ]
Jamie goodyear edited comment on KARAF-1268 at 3/15/12 9:37 PM:
----------------------------------------------------------------
I'll review and apply the patch - I'd rather see unix & windows scripts support equivalent features.
Considering we document this as working with start clean command, I'd consider this a bug to not work as described.
was (Author: jgoodyear):
I'll review and apply the patch - I'd rather see unix & windows scripts support equivalent features.
> 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
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Updated] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear updated KARAF-1268:
----------------------------------
Fix Version/s: 2.2.6
> 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
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Work started] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Work started) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KARAF-1268 started by Jamie goodyear.
> 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
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Updated] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jonathan Anstey (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Assigned] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear reassigned KARAF-1268:
-------------------------------------
Assignee: Jamie goodyear
> 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
> Assignee: Jamie goodyear
> 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
[jira] [Closed] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear closed KARAF-1268.
---------------------------------
> Allow multiple commands in karaf script
> ---------------------------------------
>
> Key: KARAF-1268
> URL: https://issues.apache.org/jira/browse/KARAF-1268
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.2.5
> Reporter: Jonathan Anstey
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Resolved] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear resolved KARAF-1268.
-----------------------------------
Resolution: Fixed
> Allow multiple commands in karaf script
> ---------------------------------------
>
> Key: KARAF-1268
> URL: https://issues.apache.org/jira/browse/KARAF-1268
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.2.5
> Reporter: Jonathan Anstey
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Updated] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear updated KARAF-1268:
----------------------------------
Issue Type: Bug (was: Improvement)
> Allow multiple commands in karaf script
> ---------------------------------------
>
> Key: KARAF-1268
> URL: https://issues.apache.org/jira/browse/KARAF-1268
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.2.5
> Reporter: Jonathan Anstey
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Commented] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230573#comment-13230573 ]
Jamie goodyear commented on KARAF-1268:
---------------------------------------
I'll review and apply the patch - I'd rather see unix & windows scripts support equivalent features.
> 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
> Assignee: Jamie goodyear
> 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
[jira] [Commented] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jonathan Anstey (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230591#comment-13230591 ]
Jonathan Anstey commented on KARAF-1268:
----------------------------------------
Thanks dude.
> Allow multiple commands in karaf script
> ---------------------------------------
>
> Key: KARAF-1268
> URL: https://issues.apache.org/jira/browse/KARAF-1268
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.2.5
> Reporter: Jonathan Anstey
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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
[jira] [Commented] (KARAF-1268) Allow multiple commands in karaf
script
Posted by "Jamie goodyear (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230586#comment-13230586 ]
Jamie goodyear commented on KARAF-1268:
---------------------------------------
Patch applied with thanks to Jon Anstey.
$ svn ci
Sending assemblies/apache-karaf/src/main/distribution/unix-shell/bin/karaf
Sending assemblies/apache-karaf/src/main/distribution/windows-text/bin/start.bat
Transmitting file data ..
Committed revision 1301215.
> Allow multiple commands in karaf script
> ---------------------------------------
>
> Key: KARAF-1268
> URL: https://issues.apache.org/jira/browse/KARAF-1268
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.2.5
> Reporter: Jonathan Anstey
> Assignee: Jamie goodyear
> Fix For: 2.2.6
>
> 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