Hello bnd community,
I am currently wondering about multiple very weird errors, while using bndtools 6.4.0 with Eclipse 2023-03.
First, when I try to create a new workspace in an empty folder I just created using the bndtools/workspace
template I get this error:
The error persists over new Eclipse Installations. However, using the bndtools/workspace.min
template works flawlessly (even creating the “conflicting” file gradle.properties
.
The second error I am facing is the inability to resolve the package org.osgi.service.prefs
. I created a minimal example and uploaded it. The workspace only includes the Eclipse 4.24 Repository, a simple empty project, based on the minimal workspace template, and a .bndrun
file only requiring said bundle.
https://github.com/A7exSchin/bndtools.minimal.NonWorking
All Eclipse Instances were installed using the Eclipse Installer. I am running Windows 11 with various available JDKs (8,11,17) where 17 is selected as target configuration.
The error is
Resolution failed. Capabilities satisfying the following requirements could not be found:
[<<INITIAL>>]
⇒ osgi.identity: (osgi.identity=org.osgi.service.prefs)
An example project that is based on PDE works, but translating it to a bnd project results in this error. I am pretty sure the bundle itsself should be available, as it is included in the Eclipse Platform Repository.
I am not sure if this is the correct place to ask such questions, if it is not, I would greatly appreciate a pointer towards the right direction.
Any other input is also greatly appreciated. I am fairly new to bndtools, OSGi, and PDE as I am currently trying to develop a tool for my Bachelors thesis with said tooling.
Thanks!
Edit 1:
There is a more complete setup, where I try to use the Oomph Projects Setup model, which has a dependency on org.osgi.service.prefs
and can be found here
Edit 2: Added bndtools version