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
2
votes
0 answers

Trouble including dependency from non-indexed repository

I am trying to port an existing EclipsePDE application to BNDTools, but I am running into a problem. I have a project with multiple sub bundles. One of them uses org.jscience, which I get from a non-indexed Nexus repository. This is the bnd.bnd…
David ten Hove
  • 2,748
  • 18
  • 33
2
votes
0 answers

Bndtools Local repository view is empty

I am using Eclipse Luna with bndtools. When I add bundles to the 'Local Repository' the repository view is empty. I cannot see the bundles listed there. Any solution ?
Smith
  • 171
  • 2
  • 8
2
votes
1 answer

javax.crypto with Bndtools

How am I supposed to be able to use the javax.crypto inside of my Bndtools project? I'm trying to compile my project but it seems that Bnd is not able to find the javax.crypto library. I'm using Eclipse Juno with Bndtools 2.2 and JDK 7
2
votes
1 answer

Brindy Vaadin OSGi/ Guessit -Felix works, Equinox does Not

Using bndtools 2.0 and creating project as per latest Brindy Github version, Vaadin starts up and all works well when I create run bnd that pulls in dependencies based on felix http jetty and felix scr. But if I try to run with…
paulf
  • 93
  • 7
2
votes
1 answer

Using PaxExam with Bndtools

did someone ever tried to run PaxExam Junit tests with Bndtools and can give me some advices? I've tried it by myself, but without Maven it's a pain to download all the dependencies. What I've done so far: Download PaxExam dependencies from Central…
christian.vogel
  • 2,117
  • 18
  • 22
1
vote
0 answers

How to resolve org.slf4j with bndtools

I'm currently trying to use bndtools for a simple OSGi test project for evaluation of bnd/bndtools. Now I'm struggling to let bndtools automatically resolve the run requirements for my project. I got the following error: Resolution failed.…
jsc57x
  • 71
  • 6
1
vote
0 answers

How to add "Embedded-Artifacts" section to Manifest using gradle bnd (bndtools)?

I am converting the build of a bunch of OSGi bundles from Maven builds to Gradle. Part of the build includes using Bnd to embed some jars into the generated jar, as well as generate specific headers in the manifest file. The incumbent Maven build…
Matthew
  • 267
  • 1
  • 14
1
vote
2 answers

Injecting singleton OSGi Declarative Service in Eclipse RCP

I'm trying to define a singleton OSGi service that would be used (=shared) by other plugins in my Eclipse RCP application but every plugin has its own version (from local classloader) and only the one version with the highest ranking gets…
Jan Straka
  • 13
  • 2
1
vote
0 answers

Force maven-bundle-plugin to use a specific osgi.ee Require-Capability

We are building a OSGi bundle using maven-bundle-plugin. The default configuration works good but the problem arises when deploying the bundle in a container. Running jdeps on the jar shows the code is compatible with compact1 profile and I would…
1
vote
2 answers

Why don't repositories in the bnd workspace model support transitive dependencies?

According to the Introduction to the bnd workspace model the repositories define and exact set of dependencies and not support transitive dependencies because they tend to make horrible OSGi systems. Can someone provide a more detailed explanation…
Shamann
  • 88
  • 5
1
vote
1 answer

Running Xtext in Equinox

I am trying to run a project using Xtext inside the Equinox OSGi runtime. As a minimum example, I only added org.eclipse.xtext to my runtime. However, I end up with many bundles staying in the STARTING phase: g! ss "Framework is launched." id …
mapf
  • 496
  • 1
  • 5
  • 21
1
vote
1 answer

Unresolved requirement: Import-Package: org.apache.commons.codec.language in bndtools/osgi

I'm currently working at a project where I need to transfer PDE style plugins to bnd style plugins. I ran into the problem with external jars so I build up bundles for every jar and included them to the build path. For most of the jars this worked…
Philipp M
  • 502
  • 6
  • 20
1
vote
1 answer

Unable to access Maven Central from Eclipse build.bnd

I am building an OSGi project using Eclipse Proton with bndtools. I am having problems connecting to Maven Central or at least pulling the jar dependencies from there. In the cnf/build.bnd, I have defined -plugin.2.Maven: …
Jim
  • 59
  • 1
  • 1
  • 6
1
vote
0 answers

Remote OSGI using ECF: Bundle Requirements For BND

Can some one point what bundles am I missing in this bndrun file for registering a remote service in OSGI framework. I followed the following example in the link Building your first remote osgi service. I have registered a service like this: …
Umesh Timalsina
  • 123
  • 1
  • 9
1
vote
1 answer

How to write MANIFEST.MF after Gradle WAR plugin processing, still using bnd features?

I need to pack a jar (or a war, format is irrelevant, please read further) with the structure of common war (wab) archive. Meaning that I need WEB-INF/classes/lib folder filled with dep-cy jars (not flattened/shaded) and all common stuff like…
SoBeRich
  • 682
  • 2
  • 8
  • 15
1 2
3
10 11