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

Restlet bundle in osgi (bndtools) fails to start. Activator error com/sun/net/httpserver/HttpHandler

I'm migrating to bndtools some osgi plugins that I had created and were working in the standard Eclipse environment. I've added the Felix Web Console, and Jetty HTTP Service, and swapped out some Equinox bundles with Felix equivalents. When I run…
3
votes
2 answers

How to use Apache POI in OSGi

I want to use Apache POI in OSGi to write an Excel workbook with the streaming, OOXML API (SXSSF). The streaming API is available since POI 3.9. As the latest Apache POI 3.11 jars are not bundles: What's the best way to get POI working in OSGi? I…
Philipp
  • 4,659
  • 9
  • 48
  • 69
3
votes
2 answers

Move jfxrt to lib/ext for OSGI purposes

It has been suggested that part of the solution of the problem with javafx classloading and osgi is to move jfxrt to the Java installation lib/ext directory so that it is loaded when the JVM starts. If this is done in a private install of Java the…
paulf
  • 93
  • 7
2
votes
0 answers

Eclipse maven workspace is too slow with bnd plugin

I am using bnd 4.2.0 version I am building OSGI based application and I am using Eclipse IDE for development. My project is maven based and I am using bnd maven plugins for creating bundles and I use bnd tools eclipse plugin to manage bndrun files…
Prafull
  • 73
  • 4
2
votes
1 answer

disable osgi temp folder

I have a problem with the temporary folders that are generated when I run "Run OSGi" from the start.bndrun file in eclipse at each start a folder is generated below: C:\Users\\AppData\Local\Temp\osgi.7569853241152546985.fw which weigh about…
microinfo
  • 87
  • 2
  • 10
2
votes
2 answers

OSGI - Java 8 -> 9 migration (Require-Capability issue)

I am trying to migrate our bnd(OSGI) project from java 8 to 9. After first fail i have prepared basic project. However, I got stuck in problems with java versions capability, exacly like bellow (just a part of them, but all are the same with…
Witold Kupś
  • 524
  • 7
  • 14
2
votes
1 answer

BndTools, How to add a non-OSGi JAR?

BndTools, How to add a non-OSGi JAR? I wanted to add jcraft Libraries into my osgi project. Using plain JAR breaks the whole project. Missing requirement wiring package ERROR: Bundle com.herle.iiot.application.installation [6] Error starting…
Amrith Raj Herle
  • 773
  • 1
  • 6
  • 18
2
votes
2 answers

Eclipse Oxygen fails to run - org.eclipse.swt.SWTException: Invalid thread access

I have following problem: my eclipse Oxygen fails to run(error attached). Everything is fine on fresh instalation, when I run it just after downloading (tested on 1a september and 2 december). However, when i restart my computer, eclipse won't start…
Azbesciak
  • 308
  • 4
  • 16
2
votes
1 answer

BndTools, How to add a non-OSGi JAR? Using plain JAR breaks the whole project. Missing requirement wiring package

I'm working on this BndTools based OSGi project: https://github.com/Jafre13/ISS-Product My project though requires a non-OSGi based library (aliasi-lingpipe - https://mvnrepository.com/artifact/de.julielab/aliasi-lingpipe/4.1.0). And here is where…
Robert Koszewski
  • 583
  • 1
  • 8
  • 17
2
votes
0 answers

Add Apache Thrift to OSGi Bndtools Project

I am working with Bndtools in Eclipse. I am trying to add Apache Thrift as dependency to a project. My build.bnd has this code for adding the Maven Central as well as our Nexus repository: -plugin.5.Nexus = \ …
mapf
  • 496
  • 1
  • 5
  • 21
2
votes
1 answer

OSGI REST "Jersey is not ready yet" - Cannot find a default implementation of the HK2 ServiceLocatorGenerator

I am trying to get a simple osgi rest endpoint working using osgi-jax-rs-connector, jersey, and bndtools. I'm wrapping the publisher-5.3.1.jar bundle and jersey-all-2.22.2.jar bundles (both provided by osgi-jax-rs-connector) into my own separate…
Mike Fogg
  • 33
  • 1
  • 5
2
votes
1 answer

How to import package from bundle with Bndtools

I was following this Bndtools tutorial http://bndtools.org/tutorial.html to implement a simple greeting service. First, I created this interface in bundle org.example.api: package org.example.api; public interface Greeting { String sayHello(…
Rüdiger Herrmann
  • 20,512
  • 11
  • 62
  • 79
2
votes
0 answers

Having trouble installing bndTools with Gradle?

I have Gradlev2.9 installed. I also have bndTools downloaded from https://github.com/bndtools/bndtools. I am running on a closed network so no Interwebs. I deleted the Ivy repository since we dont have Ivy, its in the settings.gradle file under…
Pkmstr
  • 29
  • 4
2
votes
0 answers

How to package OSGi subsystems with bndtools

I am evaluating bndtools as an alternative to the websphere OSGi tooling in eclipse, to package liberty profile features. Liberty profile uses OSGi subsystems packed as a .esa for extensions to the runtime. It appears that it is possible to package…
ekj
  • 1,082
  • 2
  • 11
  • 22
2
votes
1 answer

Dynamically wire OSGi Services by configuration properties

I am currently facing a problem of how to dynamically "wire" OSGi Services depending on their configuration properties. I want to do that with Declarative Services. To give a concrete example: I have two different OSGi Services A and B which both…
Shorty
  • 33
  • 5
1
2
3
10 11