You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Vinu Raj <vi...@wipro.com> on 2014/03/04 06:13:27 UTC
bin/client with -f option
Using Apache Karaf 3.0.0 on Linux (RHEL). I am trying to execute a set of
feature:install commands from a file using client -f <filename> and getting
following error message.
client -f x
Unknown option: -f
Run with --help for usage
--help says
Apache Karaf client
-a [port] specify the port to connect to
-h [host] specify the host to connect to
-u [user] specify the user name
--help shows this help message
-v raise verbosity
-r [attempts] retry connection establishment (up to attempts times)
-d [delay] intra-retry delay (defaults to 2 seconds)
-b batch mode, specify multiple commands via standard input
-f [file] read commands from the specified file
[commands] commands to run
If no commands are specified, the client will be put in an interactive mode
regards
Vinu
--
View this message in context: http://karaf.922171.n3.nabble.com/bin-client-with-f-option-tp4032030.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: bin/client with -f option
Posted by Vinu Raj <vi...@wipro.com>.
Thanks JB for the quick response. I wanted to automate some of the
installation tasks using a script that uses client utility. Will try with
space added time being and revert back once 3.0.1 is out.
-Vinu
--
View this message in context: http://karaf.922171.n3.nabble.com/bin-client-with-f-option-tp4032030p4032032.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: bin/client with -f option
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Vinu,
it's fixed, there were an issue:
the -f option contained an extra space "-f " instead of "-f".
The fix will be included in 3.0.1.
Regards
JB
On 03/04/2014 06:13 AM, Vinu Raj wrote:
> Using Apache Karaf 3.0.0 on Linux (RHEL). I am trying to execute a set of
> feature:install commands from a file using client -f <filename> and getting
> following error message.
>
> client -f x
> Unknown option: -f
> Run with --help for usage
>
>
> --help says
>
> Apache Karaf client
> -a [port] specify the port to connect to
> -h [host] specify the host to connect to
> -u [user] specify the user name
> --help shows this help message
> -v raise verbosity
> -r [attempts] retry connection establishment (up to attempts times)
> -d [delay] intra-retry delay (defaults to 2 seconds)
> -b batch mode, specify multiple commands via standard input
> -f [file] read commands from the specified file
> [commands] commands to run
> If no commands are specified, the client will be put in an interactive mode
>
> regards
> Vinu
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/bin-client-with-f-option-tp4032030.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com