Re: Fail to execute macro-command e.g. la by client with karaf 4.1.0

2017-02-27 Thread Jean-Baptiste Onofré
Good catch. I will take a look later today. Regards JB On 02/28/2017 07:51 AM, XiLai Dai wrote: After debugging, the root cause is the shell.init.script couldn't be found with the default property in the system.properties {code} # # Location of a shell script that will be run when starting

Re: Fail to execute macro-command e.g. la by client with karaf 4.1.0

2017-02-27 Thread XiLai Dai
After debugging, the root cause is the shell.init.script couldn't be found with the default property in the system.properties {code} # # Location of a shell script that will be run when starting a shell # session. This script can be used to create aliases and define # additional commands. # Do

Re: Fail to execute macro-command e.g. la by client with karaf 4.1.0

2017-02-27 Thread XiLai Dai
JB, yes, exactly, it's only about aliases commands defined in the etc/shell.init.script. From: Jean-Baptiste Onofré Sent: Monday, February 27, 2017 4:44:56 PM To: user@karaf.apache.org Subject: Re: Fail to execute macro-command e.g. la by

Re: Fail to execute macro-command e.g. la by client with karaf 4.1.0

2017-02-27 Thread Jean-Baptiste Onofré
Hi Xilai, I guess that client.bat "bundle:list" works ? I suspect something about the aliases. Regards JB On 02/27/2017 08:50 AM, XiLai Dai wrote: Hi, On karaf 4.1.0, the macro-commands defined in the etc/shell.init.script failed to execute from client/client.bat. For example even with

Fail to execute macro-command e.g. la by client with karaf 4.1.0

2017-02-26 Thread XiLai Dai
Hi, On karaf 4.1.0, the macro-commands defined in the etc/shell.init.script failed to execute from client/client.bat. For example even with the "la" command: G:\download\apache-karaf-4.1.0\bin>client.bat -h localhost -u karaf "la" Logging in as karaf Password: Command not found: la