Hi Vinu,
I checked and if you use shell namespace 1.1.0, you have to NOT use the
name attribute on the command element (the name is now taken from the
command class).
The name attribute is required only if you use shell namespace 1.0.0.
However, namespace 1.0.0 is still supported in Karaf 3.0.0.
Regards
JB
On 01/22/2014 07:26 AM, Vinu Raj wrote:
Any further updates on this issue. I am using karaf 3.0.0 and facing the same
issue. With namespace v1.1.0 and command element with about name attribute,
getting following error.
Caused by:
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to
find a matching factory method getScope on class
org.apache.karaf.shell.console.commands.NamespaceHandler for arguments
[com.test.cmd.list] when instanciating bean #recipe-7
--
View this message in context:
http://karaf.922171.n3.nabble.com/Schema-for-custom-shell-commands-tp4029047p4031242.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com