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

Apache Felix FileInstall configuration with Bndtools under Eclipse

I'm using Bndtools plugin under Eclipse Mars. In a project I need the Apache FileInstall bundle and I have selected it in the "Run Requirements" under the Run descriptor. The bundle is active. I can't understand how to get the current parameters for…
ppatierno
  • 9,431
  • 1
  • 30
  • 45
0
votes
1 answer

Eclipse: The .classpath containsa a library that will not be available during continuous integration

I get this error even though the jar file, osgi.core-4.0.1.jar is there in my local .bnd folder. Eclipse: The .classpath containsa a library that will not be available during continuous integration:…
Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
0
votes
1 answer

Is there a way to reference bnd filename from a macro inside?

I would like to use the filename of a sub-bundle bnd file as value without extension inside the file itself. like here ${filename_without_extension} Is there a opportunity for that? file: core.bnd -includeresource: \ …
Peter Kirschner
  • 927
  • 1
  • 9
  • 17
0
votes
0 answers

where does '.' package come from?

I have been happily building an application on felix/osgi using Bndtools in my build process. I have wrapped all my 3rd party non-bundle jars as bundles, built all my in-house jars as bundles and have been working on 4 bundles w/ activators and…
Adam Morgan
  • 425
  • 1
  • 3
  • 17
0
votes
1 answer

Adding and removing repositories or bundles from Bndtools

This is a two part question concerning Bndtools repositories: Suppose you have a bundle in a bndtools repository that you don't need and want to remove. Is there a simple way to do this. There doesn't seem to be anything in the documentation about…
Factor Three
  • 2,094
  • 5
  • 35
  • 51
0
votes
1 answer

(mis)understanding osgi bundle dependencies

I'm pretty new to osgi and bndtools, but in the past couple days have managed to get jar->bundle creation working using bnd ant task, plus wrapping of our 3rd party jars as bundles (for those not already defining an 'Export-Package' in the manifest…
Adam Morgan
  • 425
  • 1
  • 3
  • 17
0
votes
1 answer

cannot startup a Declarative Services (DS) component using bndtools

I have got the standard bndtools plugin for eclipse installed, up and also running the apache felix osgi runtime. I am trying to learn about declarative services (DS) components. Apparently, before there were annotations (for which an example is…
apil.tamang
  • 2,545
  • 7
  • 29
  • 40
0
votes
1 answer

can't use bndtools plugin to run a simple osgi application

I am trying to run a simple app using the procedure outlined in this tutorial: BndTools tutorial project. And this is the osgi project/module I am trying to load. package com.counter; import org.osgi.framework.BundleActivator; import…
apil.tamang
  • 2,545
  • 7
  • 29
  • 40
0
votes
1 answer

Why does bnd figures my bundle REQUIRES optional services (*, 0..n, ReferenceCardinality.MULTIPLE)?

My bundle defines an interface, and a component that uses this interface implementations to call them all back (if some exists...). A good analogy is the LogService; if one (or more) exists, calls them with the message. Here's my DS…
JSlain
  • 566
  • 3
  • 20
0
votes
1 answer

Amdatu And DependencyManager error injecting service

I installed Amdatu Bootstrap and created a project. I tried to do a simple injection of service with dependecyManager but an error shows up when running. The code and my error. This is the implementation of my Service: package…
0
votes
1 answer

Amdatu JPA (bndtools, felix DM) not resolving DataSource service

So I was loosely following the Amdatu JPA video tutorial and I almost got it working... At a glance everything seems to be fine, only DataSource service is not resolved and I don't know why. It seems to me that it is registered. So how would I go…
0
votes
1 answer

Is it possible to use bnd with maven-bundle-plugin to produce eclipse feature?

I am using maven-bundle-plugin to generate plugins for Eclipse. Now I need to generate Eclipse feature. How can I achieve it ? I do not want to use PDE for it.
kulatamicuda
  • 1,603
  • 2
  • 21
  • 40
0
votes
2 answers

Using SqLite JDBC Jar in a OSGi Project

I am trying to learn OSGi and i made one simple project where it will just create a table in a Sqlite DB. I added the "sqlite-jdbc-3.7.2.jar" in the build path. But when i run that project, it says "ClassNotFoundException". I use Eclipse IDE with…
Rajkishan Swami
  • 3,569
  • 10
  • 48
  • 68
0
votes
1 answer

No DS in runtime in bndtools tutorial

i follow the bndtools turtorial. On step 5, i should see 9 bundles in the runtime, including the DS bundle. instead, i only get these bundles and the ExampleComponent does not offer the Greetings service: Does anybody know what I did wrong here? I…
Felix Schmidt
  • 321
  • 1
  • 3
  • 13
0
votes
1 answer

How to create Dynamic Web Project using Bndtools OSGi Project.

I Have Created a BndTools OSGi project that generates a .jar file.Now i want the BundleContext of that jar in my main project i.e. Dynamic Web Project (.war File). Dynamic web Project doesn't contain bnd.bnd file.So i can't inject that jar's…
Kishor Sawant
  • 88
  • 1
  • 10