User Tools

Site Tools


osgi:felix

This is an old revision of the document!


Apache Felix

http://felix.apache.org/

Apache Felix is a community effort to implement the OSGi Framework and Service platform and other interesting OSGi-related technologies under the Apache license.

Apache Felix Gogo

http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html

Apache Felix Gogo is a subproject of Apache Felix implementing a command line shell for OSGi. It is used in many OSGi runtimes and servers (Felix distro, Eclipse IDE, Apache Karaf, …).

Commands

Launch Gogo

java -jar bin/felix.jar 

Welcome to Apache Felix Gogo

List bundles

lb
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    2|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    3|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    4|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
    5|Active     |    1|MJ-OSGIHelloWorldProvider (1.0.0)|1.0.0
    6|Installed  |    1|osgi.core (6.0.0.201403061837)|6.0.0.201403061837

Install bundle

g! install file:../OSGiHelloWorldProvider-1.0.jar         
Bundle ID: 5
osgi/felix.1548358613.txt.gz · Last modified: 2023/07/04 19:36 (external edit)