Questions tagged [bndtools]

Bndtools is a widely used Eclipse based OSGi development tool. It is based upon the bnd library which is also used in ant and maven build environments.

Bndtools is a widely used Eclipse based OSGi development tool. It is based upon the bnd library which is also used in ant and maven build environments.

The latest release can be found on GitHub and the Eclipse Marketplace.

153 questions
1
vote
1 answer

Unable to use Maven Central Repository with bnd to resolve dependencies

With Eclipse Oxygen.2 Release (4.7.2), I'm trying to use bndtools to make some OSGi bundles. By default (with the JPM repository) I am able to resolve dependencies fine. But I have no way of seeing what libraries are there. Because of this, I'd like…
Zymus
  • 1,673
  • 1
  • 18
  • 38
1
vote
1 answer

OSGI failed to start bundle 'missing requirement' using javax.ws.rs

I've been trying to make an OSGI REST bundle. I've baked it down to a contrived minimized example with a single bundle workspace with a single class that uses a few annotations. I get errors resolving the javax.ws.rs package when I run the bundle…
Mike Fogg
  • 33
  • 1
  • 5
1
vote
0 answers

How to load OSGi bundles

I am trying to run BnD OSGi bundles from an OSGi container created in Java, but nothing happens at all. In one module, the one that loads and starts the bundles: public class Launcher { private static String[] jars = null; private static…
Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
1
vote
0 answers

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

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…
1
vote
1 answer

OSGi Netty / Vertx error when running from bndtools/eclipse

I am trying to run vertx under OSGi (bndtools/eclipse) and getting this error message from the underlying Netty. I am using vertx 3.3.3 using bndtools in standalone mode (maven) so all dependencies are imported using maven and not the standard…
Gadi
  • 1,539
  • 22
  • 37
1
vote
1 answer

bndtools : How to get latest version for a jar file or a plugin

I am new in bndtools. I am wondering if there is any way to retrieve the latest version of my jar file? My lib folder has a lot of JARs version (My-Api-1.0.50, My-Api-1.0.85, My-Api-1.0.90)? I managed to resolve dependencies by using ant. My JARs…
houchker
  • 103
  • 1
  • 2
  • 11
1
vote
1 answer

How do I implement asynchronous processing on an apache felix?

In our current project we have the need to do some calculations asynchronously. We're using OSGi with bndtools on an Apache Felix 4. Any advice on how to do that? We're looking for something like…
AndiH
  • 612
  • 1
  • 10
  • 24
1
vote
1 answer

A Docker image for running enRoute OSGi framework?

I want to try and run enRoute inside a Docker container but cannot seem to find any Docker images. Can anyone suggest the location of an image?
XOXO
  • 379
  • 2
  • 8
1
vote
1 answer

How to use multiple git repositories in one bndtools workspace

I am using eclipse BndTools with a few dedicated workspaces each stored in a single git repo and I've been quite happy sofar. I've been sharing projects between workspaces by copying them. But recently decided to pull common code into a shared code…
willow512
  • 122
  • 1
  • 7
1
vote
1 answer

How to add my bnd jars dependencies to my eclipse RCP application?

I have some core plugins created in my workspace that are built with BND tools in eclipse. Now I have to reference those core plugins in my eclipse RCP application which is developed with PDE tool in eclipse. But there is no visibility to the BND…
Loganathan
  • 903
  • 2
  • 10
  • 23
1
vote
1 answer

OSGi companion bundle needed?

I have two different projects in Eclipse based on Bndtools. The first produces a JAR with following manifest : Manifest-Version: 1.0 Bnd-LastModified: 1450251340248 Bundle-Activator: org.osgi.tutorial.MessageCounterActivator3 Bundle-ManifestVersion:…
ppatierno
  • 9,431
  • 1
  • 30
  • 45
1
vote
0 answers

Bndtools project fails to run

I have been trying to run Bndtools projects on my Eclipse IDE, but to no success. I have installed Bndtools Via the Eclipse Marketplace, as described here (Install Bndtools). I then try to follow this tuitorial as is (Bndtools Tutorial), but I can't…
Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
1
vote
2 answers

Bndtools and org.osgi.util.tracker package

I'm using Bndtools in Eclipse IDE. It's great and works fine. I'm able to add osgi.core package into the "Build Path" editing the bnd file (it uses the bndtools repositories). Now I need the org.osgi.util.tracker package but I can't find it in the…
ppatierno
  • 9,431
  • 1
  • 30
  • 45
1
vote
1 answer

Bndtools with lombok "contains an unknown container"

I finally finished moving a part of my application into osgi bundles and use these bundles in my host application. This works really nicely! At the moment i'm cleaning up my eclipse workspace with bndtools and getting rid of warnings. One warning i…
Tinus Tate
  • 2,237
  • 2
  • 12
  • 33
1
vote
0 answers

OSGi 'uses constraint violation' with logback

The bndtools Eclipse plugin consistently reports a 'uses constraint violation' for logback that I just have not been able to track down (I've been through every related question that I can find on StackOverflow and Google). The constraint violation…
tonys
  • 3,855
  • 33
  • 39