How to add OSGI Bundles

From RifidiWiki

Revision as of 17:26, 15 May 2014 by Bppause (Talk | contribs)

Jump to: navigation, search
  • 1). For the bundle you want to export, go to META-INF/Manifest.mf in eclipse
  • 2)Press "Export Wizard". Select a directory to export to. If you wish, you can select multiple bundles to export at this time. Default options should work fine for the rest.
  • 3)Press "Finish". Jars for all bundles selected should end up in the folder you chose.
  • 4)Transfer the jars to the "plugins" folder in a rifidi install. Replace any jars with the same name. There is a file called "bundles.info" in "configuration/org.eclipse.equinox.simpleconfigurator". If you added any new jars, or incremented the version of any existing jars, you'll need to update this file to reflect
  • 5) update bundles.info in server/configuration/org.eclipse.equinox.simpleconfigurator

example bundles.info entry

oracle.jdbc.driver,1.0.0,plugins/oracle.jdbc.driver_1.0.0.jar,4,true

  • 6) Once RIFIDI Edge starts at OSGI prompt type ss to verify bundle is ACTIVE

Note: OSGI Bundles include in the Spring Framework can be found here - http://ebr.springsource.com/repository/app/