[
https://issues.apache.org/jira/browse/KARAF-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved KARAF-2454.
------------------------------------
Resolution: Fixed
> Portable way to make custom shell commands (without inheriting from
> OsgiCommandSupport)
> ---------------------------------------------------------------------------------------
>
> Key: KARAF-2454
> URL: https://issues.apache.org/jira/browse/KARAF-2454
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.2
> Environment: All
> Reporter: Morten Christensen
> Assignee: Guillaume Nodet
> Fix For: 4.1.0
>
>
> I would like to be able to create osgi shell commands that work across karaf
> and standard osgi implementations like felix, eclipse (both using gogo). When
> deployed in karaf, the shell commands should support completion and the other
> karaf specific features and when deployed in plain felix just work as in the
> standard. Currently, karaf makes this difficult as commands must extend from
> karaf specific OsgiCommandSupport class. I would like a way to support karaf
> using some karaf specific configuration outside the command classes that
> should use standard OSGI stuff only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)