Previous Topic

Next Topic

Book Contents

Book Index

Add Bundles into a Clean Platform Definition

  1. In the workbench use the Run > Run Configurations or the Debug > Debug Configurations menu option and from the OSGi Runtime node locate the remote OSGi framework launch configuration for the emulated runtime.
  2. Set the Type to OSGi Emulator.
  3. From the Target Image field select <Empty>. As a result, a clean platform definition will be created with no bundles added in advance.
  4. Go to the Target Image tab to specify the bundles which will be marked as system and cannot be stopped or updated. If their activation policy is different from none, they will be included in the startup bundles list file of the resulting runtime.

    As a result, back in the Main tab the target image will be changed to <Custom>.

  5. Go to the Bundles tab to specify bundles to install from the workspace.
  6. Select Apply to save the changes.

On changing the list of bundles, the OSGi Runtime will be automatically started with clean storage.