Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To set up Felix you can follow these steps:
Verified with: Felix 13.80.01

Code Block
../felix-13.80.0>1> java -jar bin/felix.jar

Welcome to Apache Felix.
=================

-> start Gogo
g! install http://repo1.maven.org/maven2/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
-> start http://www.apache.org/dist/cxf/dosgi/1.1/cxf-dosgi-ri-singlebundle-distribution-1.1.jar
... some log messages may appear...
->g! pslb
START LEVEL 1
  0|Active ID   State |        Level  Name
[0|org.apache.felix.framework (3.0.1)
   0] [1|Active     ]| [    0] System Bundle 1|org.apache.felix.bundlerepository (1.86.02)
[   1] [2|Active     ] [|    1] Apache Felix Shell Service (1.2|org.apache.felix.gogo.command (0.6.0)
[   2] [3|Active     ] [|    1] Apache Felix Shell TUI (1.2|org.apache.felix.gogo.runtime (0.6.0)
[   3] [4|Active     ]| [    1] Apache Felix Bundle Repository (1.41|org.apache.felix.gogo.shell (0.6.0)
[   4] [Active 5|Resolved   |  ] [    1] |osgi.cmpn (4.2.0.200908310645)
[   5] [6|Active     ] [|    1] Distributed OSGi Distribution Software Single-Bundle Distribution (1.1|cxf-dosgi-ri-singlebundle-distribution (1.2.0)

However, you can also change the conf/config.properties file to automatically load these bundles. This approach is described in the Multi Bundle Setup page.

...

To set up Equinox you can follow these steps:
Verified with: Eclipse 3.5 RC 36

Code Block
.../eclipse> java -jar plugins/org.eclipse.osgi_3.56.0.v20090520v20100517.jar -console
osgi> install install file:plugins/org.eclipse.osgi.services_3.2.0100.v20090520-1800v20100503.jar
Bundle id is 1

osgi> install http://www.apache.org/dist/cxf/dosgi/1.1/cxf-dosgi-ri-singlebundle-distribution-1.1.jar
Bundle id is 2

osgi> start 2
... some log messages may appear...
osgi> ss

Framework is launched.

id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.56.0.v20090520v20100517
1       RESOLVED    org.eclipse.osgi.services_3.2.0100.v20090520-1800v20100503
2       ACTIVE      cxf-dosgi-ri-singlebundle-distribution_1.12.0

However, you can also create a config.ini file to automatically load these bundles. This approach is described in the Multi Bundle Setup page.

...