Setting up Eclipse for Running and Debugging Distributed OSGi has been edited by David Bosschaert (Dec 23, 2008).

(View changes)

Content:

Setting up Eclipse for Running and Debugging Distributed OSGi

Note this only works with Eclipse 3.5M4 and newer.

This procedure applies to both the Multi-bundle as well as the Single-bundle distribution. The multi-bundle distribution is used for the walkthrough.

1. Import the plugins into the workspace
Go to File | Import and select Plugin-ins and Fragments.

2. select the directory that contains all the bundles of the distribution

Simply add all the bundles found in this location.

3. now you have all the bundles mounted and can start developing your distributed OSGi application.

4. Develop your Distributed OSGi application.
Here's how you develop a Distributed OSGi app in Eclipse

5. Launch the whole lot in Equinox. If you do this in debug mode you can set breakpoints in you DOSGi code, step through it etc.
Unable to render embedded object: File (equinox_launch.jpg) not found.

6. To check that your OSGi service is actually remoted you can request it's WSDL.
Unable to render embedded object: File (wsdl.jpg) not found.

Reply via email to