Skip to content
Christoph edited this page Jan 15, 2024 · 6 revisions

Bnd/Bndtools 7.1.0

See the Release section of the README for where to find Bnd/Bndtools.

This is a breaking release because we moved the code base to Java 17.

Bndtools

  • Bndtools now requires Eclipse 4.25 (2022-09) or later.
  • added help buttons to various panels linking to the corresponding Website or manual page.

Templates

Resolution View enhancements

image
  • new search filter for Requirements and Capabilities
  • new filter to hide optional requirements
  • new filter to detect (problematic) capabilities which are exported by multiple bundles but with different package content (split package problem)
  • show number of current results (after filtering) for Requirements and Capabilities
  • Copy to clipboard via Ctrl / Cmd + C for Requirements and Capabilities which copies their tooltip contents. This helps during debugging and communicating with others about it.
  • updated website about Resolutions View
  • Double Clicking on an entry of the ResolutionsView (Requirements and Capabilities) now opens the Advanced Search of Repository Browser in the "Other" tab and prefills the fields for namespace and filter.

Tip: Did you know you can drag&drop selected entries from Resolutions View e.g. Requirements to the Customize imports panel of the .bnd-editor? This can become quite handy when you want to declare some requirements of a bundle as resolution:=optional.

.bndrun View

  • You can click Resolve multiple times now to keep multiple resolution results open. Can be useful to compare different resolution attempts.
  • improved handling of versions which are added a bundle is added to -runrequires or -runbundles via drag&drop or added in the dialog.
  • The debug output of Resolution Failure result panel was extended
image image
  • a shorter summary at the top trying to better explain what could not be resolved
  • a section explaining when some bundles were blacklisted on the -runblacklist and prevented resolution

Repository Browser

  • double clicking on a result entry of an Advanced search (e.g. filter by package name) now opens the jar-file of the bundle. this is now same behavior as double clicking on a bundle-version in the repository browser without advanced search filtering
  • added Copy to Clipboard submenu for different kinds of information image

Bugfixes

  • fixed bug in Package browser / Right-click / Refactoring / Rename Package which now works again
  • fixed bug in BndPomRepository which could not address an OSGi bundle by Maven GAV coodinates. This is now consistent with MavenBndRepository and fixes problems with bnd.bnd content like this, where a bundle is addressed by GAV instead of bsn:
-buildpath: \
	commons-cli:commons-cli;version=1.2.0,\

-includeresource: \
	@${repo;commons-cli:commons-cli;latest},\

Bndtools m2e

Bnd

Bnd Command Line

  • TBD

Documentation

  • TBD

Bnd Maven Plugins

Bnd Gradle Plugins

Backward compatibility

  • All Bnd artifacts are built to run on Java 17 or later.
  • Bndtools is built to run on Eclipse 4.25 (2022-09) or later. So Bndtools may not run on older versions of Eclipse.
  • Bndtools m2e is built to run on Eclipse m2e 2.0.5 or later. So Bndtools m2e may not run on older versions of Eclipse m2e.
  • The Bnd Maven plugins require a minimum of Maven 3.3.9. The bnd-generate-maven-plugin's poorly named goal bnd-generate has been renamed generate
  • The Bnd Gradle plugins require a minimum of Gradle 7.3.
  • The Bnd Gradle plugins and tasks underwent an update for 7.0. A number of previously deprecated conventions have been removed.

Known Issues

Clone this wiki locally