Deployment to Equinox¶
You can simply use the buildAndRun.xml ant script (which uses the config.ini in the plugins folder) or, if you want to do it by hand, follow these steps:
- Install Eclipse
- Copy Weaver bundle into the Eclipse
pluginsdirectory - Rename Weaver bundle to
org.bundlebee.weaver_1.0.0.jarto reflect bundle info in its Manifest (symbolic name and version) - Start Equinox with the following command line:
java -Dosgi.framework.extensions=org.bundlebee.weaver -jar org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -noExit -console
- Install other BundleBee bundles and their dependencies
- Start all BundleBee bundles
Note that the whole extensions thing won't work, if
- Weaver isn't renamed like shown above
- Weaver isn't co-located with the OSGi bundle
- the Equinox launcher isn't used
All this is due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=206611
Furthermore, the launcher etc. bundles have to be in a folder called plugins. This is due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=186151