Run > Open Run Dialog > OSGi Framework > OSGi Framework
Pulsamos en «Duplicates the currently selected launch configuration», renombramos «OSGi Framework (1)» a un nombre con el que nos encontremos más cómodos, p.ej. «OSGi Framework (Degesys)»
En la pestaña «Bundles» veremos dos grupos de bundles (todos seleccionados): Workspace y Target Platform. Deseleccionemos «Target Platform».
File > New Project > Plug-in Project
Project Name: hellobundle
This plug-in is targeted to run with: an OSGi framework (yo he elegido «standard»)
Next , Next
Create a plug-in using one of the templates: Hello OSGi Bundle
Next , Finish
Seleccionamos la raiz de nuestro proyecto recién creado «hellobundle» y pulsamos «Alt+Shift+X, O» y seleccionamos nuestra configuración «OSGi Framework (Degesys)». Se abrirá la consola y aparecerá un mensaje como el siguiente:
osgi> Hello World!!
Ponemos el cursor en la consola y escribimos «close».
¡¡Ya hemos ejecutado nuestro primer bundle!!