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.
Set the Type to OSGi Emulator.
From the Target Image field select <Empty>. As a result, a clean platform definition will be created with no bundles added in advance.
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.
Use the Add button to select a bundle from the active Target Platform. Depending on target platform modification of SDK or Smart Home SDK, you have selected in the Plug-in Development > Target Platform preferences page you will be able to pick up different bundles.
Use Add External to add a bundle from a location on your local file system.
Remove a selected bundle by clicking the Remove button.
Change the start level and activation policy if needed of specific bundles.
As a result, back in the Main tab the target image will be changed to <Custom>.
Go to the Bundles tab to specify bundles to install from the workspace.
Select Apply to save the changes.
On changing the list of bundles, the OSGi Runtime will be automatically started with clean storage.