You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Building and Running iPOJO bundle from Eclipse

This page explains how to build and run iPOJO bundles without exiting Eclipse and breaking the compile-run cycle.

1) Import the iPOJO Bundle project

Download the project archive (URL), and import it as an Existing Project into the Workspace
IMG IMG
Then click on finish

2) Configure the target platform

Before using the project, you need to configure the OSGi platform. It will be run inside Equinox. To achieve this, edit the .target file and then click on set as Target Platform

3) Develop you bundle

Now you can implements your components. The use metadata.xml file is in the project root. The given component example uses iPOJO annotations.
Once you're done, we can run your bundle.

3) Run you bundle

Right-click on the .launch file and then go on Run-As->MyiPOJOBundle. Equinox will be started and your iPOJO bundle deployed and started:
Once run for the first time, you can re-run it from the run icon.

  • No labels