I have created an app kit for building OSGi applications using Equinox with Bndtools at:
https://github.com/BryanHunt/bndtools-equinox-app-kit
The app kit is split across several branches so that you may choose the content that best suits your application. Each main branch has a corresponding examples branch that contains a working example. You will find launchers in the dev project for the base framework, and in the example projects for running the examples.
Main Branches
- master : bare bones OSGi with a working console
- ds : master + declarative services
- web : ds + servlets
- rest : web + JAX-RS
- mongo-rest : rest + MongoDB
Hopefully this will make it a bit easier to get started with OSGi.