Hi,
you need:
org.apache.felix.service.command,
org.apache.felix.gogo.commands,
org.apache.karaf.shell.console;version="[3,5)",
org.apache.karaf.shell.console.commands;version="[3,5)",
org.apache.karaf.shell.console.completer;version="[3,5)",
org.apache.karaf.shell.commands;version="[3,5)",
imports.
Regards
JB
On 05/14/2015 10:03 PM, rcbandit wrote:
I managed to find the problem but I need some help.
In my pom I use these instructions to import packages:
<Import-Package>
org.osgi.framework,
org.osgi.util.tracker,
org.apache.karaf.shell.api.action,
org.apache.karaf.shell.api.console
</Import-Package>
It works when I import all packages:
<Import-Package>
*
</Import-Package>
So looks like that I need to import some package dynamically in order to
make my command to work. Can you tell me which package I have to import?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Custom-command-for-apache-karaf-4-0-0-20150507-135024-329-zip-tp4040353p4040361.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com