Skip to content
BJ Hargrave edited this page Oct 18, 2013 · 6 revisions

This page describes the changes in bnd since the 2.1.0 release. This is the first time that the changes are described more accurately.

You can download the binaries from:

This build for the 2.2.0 release was updated to commit e3dce61619372a2d7eb57c8c239c17f363cc99f6 from bnd 2.1.0.REL a84e0445df530e25c4e06da767253cb9e5e0dd4f.

Features Added

  • Baselining — Baselining made solid and improved error reporting
  • Resolver — Improvements in the resolver
  • Remote Searchable Repositories — Added remote searchable repositories interface (mainly used for jpm)
  • Errors — Added facilities to the error reporting to add file, location, context, header, etc
  • Time — Improvements in making generated jars less sensitive on time (bnd last modified, etc)
  • Native Capability — Added a macro ${native_capability} that creates the osgi.native capability for the current environment.
  • Metatype — Allow Metatype annotations to be found on parent interfaces.
  • Main Thread — Support for the registration of Callable instead of Runnable to capture the main thread.
  • Launcher — Update launcher and junit runner. Requires Java 5 minimum.
  • -runnoreferences — The -runnoreferences command (true or false) can set the use of reference urls for the launcher. By default, reference URLs are not longer used for installs on windows, the can lock files forever.
  • Scala — Added some special cases for Scala generated classes
  • -strict — Added -strict version that does extra error checking. Strict will not be backward compatible; future versions might generate new errors in this mode.
  • -diffignore — Added a -diffignore option to indicate headers that should be ignored for diffing (this is also used in the baselining).
  • Req/Cap — Added Require-Capability and Provide-Capability verification and help support
  • -contract — Added -contract, for simplifying using OSGi contracts
  • Bndtools — Updated to bndtools 2.1 project layout
  • Package — Improved the packaging to support the same class path setup as during debugging (no flattening).
  • Repositories - Added a Repositories bundle header to indicate which repositories were used to build the bundle. The parameters are the SHA of the repository (sort all member shas, remove duplicates, calculate their sha of their concatenation)

Fixes

Solved bugs: https://github.com/bndtools/bnd/issues?milestone=6&state=closed

Clone this wiki locally