Previous Topic

Next Topic

Book Contents

Book Index

Defining an Emulated OSGi Runtime Image

To define an emulated OSGi Runtime image, execute the following steps:

  1. Make sure that the OSGi runtime location field from the mToolkit preferences page (Window > Preferences > mToolkit) contains a valid path to <osgi_sdk>/runtime.
  2. Go to Window > Preferences > Plug-in Development > Target Platform and select the target platform matching the functional profile of the emulated runtime.
  3. In accordance with the emulation mode select from the menu bar:
  4. Create a new launch configuration of type OSGi Runtime - right-click the OSGi Runtime node and select New. The OSGi Runtime launch configuration represents a connection configuration to the OSGi runtime.
  5. As the configuration name will start with New_configuration, rename it if needed in the Name field.
  6. In the Main tab select the OSGi Emulator option from the Type box.
  7. Specify the main parameters of emulation as described in the Modeling the Content of the OSGi Runtime Image guide:
    1. The image holding the initial emulation components in Target Image.
    2. The Java runtime on which the emulation will operate in the JRE box.
    3. Clean bundle cache upon emulation launch by using the Clear storage option.
  8. If needed, select Apply to save the changes.

    edge_serv_ecl_emulator_v10.2