BND is a Java tool for automated building bundles for an OSGi environment.
Questions tagged [bnd]
196 questions
0
votes
1 answer
How to indicate the packages those don't need export/import using bnd API
i am an fresh man in osgi,and i wonder how to indicate the packages those don't need export/import using bnd API

user2328774
- 31
- 1
0
votes
1 answer
How to make JOGL OSGI bundles with native libraries loaded correctly?
I've been trying for days: http://forum.jogamp.org/JOGL-with-OSGi-td3773888.html#a4029139
This library has native dependencies embedded in jars.…

oscarvarto
- 21
- 3
0
votes
1 answer
Bndtools output to console
I've just started using bndtools for my OSGi projects but I can't seem to configure the project to get information output (Hibernate information, Spring DM information) to the console (in Eclipse). I'm having a hard time with the project as I'm…

raven-king
- 1,550
- 2
- 18
- 40
0
votes
1 answer
State of required bundle resolved instead of active
I have a bundle A that depends on bundle B. When code in bundle A runs and accesses a class from bundle B then the state of bundle B is resolved (4) instead of active (32) and the activator of bundle B didn't run as well. I assume there's something…

Philippe Marschall
- 4,452
- 1
- 34
- 52
0
votes
0 answers
How can I create a default boolean value for a configuration using BND
I am using BND annotations to assist with creating a configuration managed by OSGI cm.
Here is my simple config
@Meta.AD(required = false, type = Type.Boolean, deflt = "false")
boolean enabled();
I have used the BND configuration annotation library…

cAllen
- 13
- 4
0
votes
1 answer
Bundle not found in bnd-cache
I have a problem with bndtools. The resolving is completed with no problems, but after I clicked on "Run OSGi" in a run descriptor following problem appears:
Status ERROR: bndtools.core code=0 jena-arq~;version=[2.9.4,2.9.5) Not found in…

TWdorado
- 107
- 7
0
votes
1 answer
bndwrap ant task not working
I'm trying to create an OSGi wrapper for the newest version of jTDS. I'm trying to add the wrapping process to the existing jTDS build process (Ant-based). I've downloaded the latest bnd.jar and added the following to the jTDS build.xml:

Jeff
- 3,669
- 1
- 23
- 33
0
votes
1 answer
Putting a Maven POM in an OSGi wrapper via BND?
I have a third-party JAR that I'd like to use in an OSGi environment, but it has no OSGi-appropriate MANIFEST.MF. So, I'm using BND (well, BNDTools) to wrap it. That's working fine as well as it goes, but:
I'd also like to be able to easily use it…

user1628103
- 197
- 1
- 8
0
votes
3 answers
Service.FindHook event was'nt called by adding service reference to a component
Today I worked a little bit with OSGi Hooks, specially with FindHook and EventListenerHook for services. I wanted to try out proxying services. The EventListenerHook works fine and my services are proxied. But I realized that the FindHook event…

christian.vogel
- 2,117
- 18
- 22
0
votes
1 answer
bnd wrap on jh.jar (JavaHelp) does not work
I am using bnd wrap, a tool that I have used many times before to convert a normal jar file into an OSGI bundle. I am having trouble with jh.jar from JavaHelp. I only get a warning saying, "1: Superfluous export-package instructions: [com, com.sun,…

smuggledPancakes
- 9,881
- 20
- 74
- 113
0
votes
2 answers
OSGi/BND: Different requirements depending on OS
I created a command component for OSGi and using Apache Felix Shell. One command opens a new Thread which starts a SWT UI.
In the BND Config the SWT Bundle is required for building and to run this component. The Problem now is, that every developer…

attrib
- 121
- 1
- 10
0
votes
1 answer
Maven m2 Repository: Making it OBR
I'm having an issue with my Maven Repository, I'm trying to get the BNDTools plugin for eclipse to work with my local m2 repository. But it claims that my m2 Repository is not an OBR repository, and so cannot be used for OBR resolution.
Apparently,…

RyanSoper
- 221
- 3
- 4
- 16
0
votes
2 answers
JPA enhancement with Bndtools
Some JPA implementations use bytecode enhancement to achieve performance. I am interested in OpenJPA and EclipseLink (which calls it weaving instead). They provide an Ant task to do it at build time. Can I make Bndtools run it (unlikely) or give it…

Alexey Romanov
- 167,066
- 35
- 309
- 487
-1
votes
1 answer
How to rename bundles generated with gradle workspace plugin
Alright i want to rename the bundles generated by my build to specify the version in its name, but everything i do seems to be ignored, and the bundle ends up with the projects folder name everytime.
build.gradle file
apply plugin:…

Federico von Wernich
- 79
- 1
- 6
-1
votes
1 answer
Removing absent entries from an ant path
I've got a situation where we're generating an Ant which may contain some directories which don't actually exist. Unfortunately this is being fed into bnd, which blows up if anything in the path is missing.
So what I want is a way to filter a…

keshlam
- 7,931
- 2
- 19
- 33