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
15
votes
1 answer

OSGi and Transitive Dependencies

I’m using Felix Framework for my OSGi project, but I’ve came across a severe problem concerning third party dependencies. I’m using eclipse and maven-bundle-plugin to generate my bundles from the sources and the MANIFEST.MF from the POM.XML file. So…
PedroD
  • 5,670
  • 12
  • 46
  • 84
10
votes
3 answers

Working with Maven, OSGi and Bndtools

Today I was asked whether it is a good idea to use Maven in our current OSGi application. We used Bndtools and its great since it makes development as easy as possible. Bndtools uses OBR to maintain other bundles and dependency resolution even…
christian.vogel
  • 2,117
  • 18
  • 22
9
votes
1 answer

In bndtools, what causes a Require-Capability header for execution environment to be generated?

I have the following bnd file: Bundle-Version: 1.0.12 Bundle-Activator: a.b.Activator Private-Package: a.b -buildpath: osgi.core;version=4.3.0,\ org.apache.felix.bundlerepository;version=1.6.6,\ osgi.cmpn;version=4.3.0.201111022214 -sources:…
Dan Gravell
  • 7,855
  • 7
  • 41
  • 64
7
votes
1 answer

Eclipse Instantly detect external file change

I am using eclipse bndtools plugin to develop OSGi based web application. I am using Eclipse IDE (because of bndtools) and Jetbrain Webstorm IDE to edit the html/css/js files. When I change files in eclipse, the bndtools refresh the bundle and I…
Mohammad Hassany
  • 898
  • 1
  • 14
  • 30
6
votes
1 answer

How to embed a maven dependency with bnd-maven-plugin

I am moving from maven-bundle-plugin which provided the "convenient" configuration using Embed-Dependency, but it appears i need to specify my Embed Dependency "manually" in bnd format when using the bnd-maven-plugin. I added the same bundle headers…
empire29
  • 3,729
  • 6
  • 45
  • 71
6
votes
1 answer

How to replace the BndTools default launcher and change the export file structure

I'm using BndTools (http://bndtools.org/) to develop an OSGI application. Everything is working fine but I have some things I would like to change while exporting my app. I'm trying to achieve two things (I think they may be related): 1: Replace…
Robert Koszewski
  • 583
  • 1
  • 8
  • 17
6
votes
1 answer

How Can OSGI and JSF work together?

I'm new in OSGI and I'm having many problems to try to create WABs. I'm using BndTools with Eclipse to help me with OSGi. My problem now is how can I integrate JSF with OSGi. I want to make one main web server, and add bundles with jsf pages…
Guilherme Simão Couto
  • 1,016
  • 2
  • 12
  • 24
4
votes
3 answers

OSGI bundle dependencies

I have created an bundle which relies on SLF4J and as such am using Logback for the OSGI implementation. This all bundles up and installs OK but when I come to start the bundle I get the following exception: org.osgi.framework.BundleException:…
timothyclifford
  • 6,799
  • 7
  • 57
  • 85
4
votes
3 answers

OSGi bundle not started : missing requirement osgi.wiring.package; > &(osgi.wiring.package=org.apache.felix.dm)

I have been trying to follow 'Building Modular Cloud Apps with OSGi'. In chapter 3 of the book 'Creating the first OSGi application' the author describes how to create a simple OSGi application with a service in eclipse with bndtools. Below is the…
mu_sa
  • 2,685
  • 10
  • 39
  • 58
4
votes
0 answers

OSGI Bundle Repository (OBR) capability conflicts during OBR resolution in Apache Felix

I'm investigating the use of OBR in Felix as a deployment option for a large application, but have encountered some initial hurdles. Approach Taken I created a new jar with a manifest.mf listing every single application dependency(basically…
cjbooms
  • 163
  • 8
3
votes
2 answers

How to start with OSGi

In my working place, they asked to me to learn the OSGi framework and to decide what is the best approach to work with it. In the last two weeks, I surfed the web and I discovered a lot of different approaches to work with OSGi, for example, I found…
Sarcares
  • 57
  • 1
  • 2
  • 11
3
votes
1 answer

Unable to add test dependencies from Maven repository in Bndtools

In a Bndtools workspace, I would like to add dependencies to JUnit and Mockito in a certain project Therefore the project's bnd.bnd file contains this -testpath instruction: -testpath: \ junit:junit;version=latest,\ …
Rüdiger Herrmann
  • 20,512
  • 11
  • 62
  • 79
3
votes
1 answer

Can I use version qualifiers to require specific package versions in OSGi?

I have a third party JAR I wish to wrap - it does not have its own OSGi manifest. For example, org.myproject. So I create a bundle wrapper. This works fine - I provide the version for the release of org.myproject. This is dictated by the authors of…
Dan Gravell
  • 7,855
  • 7
  • 41
  • 64
3
votes
1 answer

How to use bndtools to create OSGi bundles with Scala?

I know there are Scala specific tools to create OSGi bundles, but I'm quite happy with bndtools, I just would like to write Scala alongside or instead of Java.
Reto Gmür
  • 2,497
  • 1
  • 20
  • 25
3
votes
2 answers

Can OSGi subsystems replace Eclipse features?

OSGi R5 Enterprise release contains the Subsystem specification. Does OSGi subsystems contain all capabilities of Eclipse feature? Does tooling exist for it? Purpose of this mapping would be a re-use of existing eclipse features in e.g. felix or…
Peter Kirschner
  • 927
  • 1
  • 9
  • 17
1
2 3
10 11