How to set up Blueprint Gemini 2.0.0 with BndTools 3.3.0 (enRoute)?

235 Views Asked by At

I'm fascinating about OSGi enRoute's and BndTool's concepts of implementing apps. But I got stuck trying to use Blueprint Gemini. Please someone help me.

Question

How to get run a BndTools-based OSGi app with Blueprint Gemini 2.0.0?

My problem

  • I'd like to use Blueprint Gemini 2.0.0 in a BndTools-based OSGi application. But my OSGi bundle doesn't get resolved.
  • This error message is shown when trying to auto resolve:

missing requirement &(osgi.extender=osgi.blueprint)(version=[1.0.0,2.0.0))

  • I'm wondering why my bundle requires version <=1.0.0 and <2.0.0? This is not specified in any config file of my project (neither in *.bnd nor *.bndrun files)?

How my project is set up and configured

  • With BndTools 3.3 I created in Eclipse Neon a new “Bnd OSGi Project” and selected “OSGi enRoute 3.3.0” as project template.
  • OSGi Framework: org.eclipse.osgi;version='[3.10...]

  • For the project name the suffix “application” was choosen. *I then added a blueprint.xml.

  • In the *.bndrun file I added two bundles as “Run Requirements”:

    • my bundle and
    • org.eclipse.gemini.blueprint.extender. In the *.bndrun file I added two bundles as “Run Requirements”: my bundle and org.eclipse.gemini.blueprint.extender: The blueprint.extender bundle has been added to my Central repo using this Maven XML syntax:

    <dependency> <groupId>org.eclipse.gemini.blueprint</groupId> <artifactId>gemini-blueprintextender</artifactId> <version>2.0.0.RELEASE</version> </dependency>

0

There are 0 best solutions below