-
-
Notifications
You must be signed in to change notification settings - Fork 301
Changes in 3.4.0
BJ Hargrave edited this page Oct 21, 2016
·
16 revisions
For Bndtools 3.4.0 changes, see https://github.com/bndtools/bndtools/wiki/Changes-in-3.4.0.
- The
check
task used to hold the actions to run the OSGi JUnit tests. It was not a good idea to put those actions directly on thecheck
task as other plugins also add tasks whichcheck
will depend upon. So a newtestOSGi
task is added which holds the actions to run OSGi JUnit tests and thecheck
task depends ontestOSGi
. So executing thecheck
task will still run OSGi JUnit test. - New
resolve.
name tasks, one per bndrun file in the project, are added. These tasks resolve the name.bndrun file and updates the -runbundles
instruction in the file. The newresolve
task depends upon all theresolve.
name tasks. - The
run.
name tasks, one per bndrun file in the project, runs the name.bndrun file.
- You can now use
Bundle-Version
in the bnd configuration to set the version of the bundle. The default bundle version is the project version.
- TBD
- Bnd now uses slf4j throughout to log. The replaces internal trace methods which could be configured to write to stdout.
- Bnd now used version 1.10 of the Apache Felix Resolver.
- In the Bnd Gradle Plugin for Workspace builds, the actions to run OSGi JUnit tests have been moved from the
check
task to the newtestOSGi
task. This should most be transparent unless your build scripts configure thecheck
task for the OSGi JUnit test execution. That configuration will now need to be made to thetestOSGi
task. - Bnd 4.0, planned for 2017, will move to Java 8 as the base runtime.
- The Bnd DS, metatype and versioning annotations are deprecated and support for them will be removed in Bnd 4.0. Please make plans to migrate to the OSGi Release 6 specified annotations which now offer more features than the bnd annotations.
- The
OSGiRepository
replaces theaQute.bnd.deployer.repository.FixedIndexRepo
repository plugin which will be deprecated in the future. Please migrate to theOSGiRepository
repository plugin. - The
MavenBndRepository
replaces theaQute.bnd.deployer.repository.aether.AetherRepository
repository plugin which is now deprecated. Please migrate to theMavenBndRepository
repository plugin.
- None at this time.