-
-
Notifications
You must be signed in to change notification settings - Fork 300
Changes in 3.4.0
Raymond Augé edited this page Feb 15, 2017
·
16 revisions
For Bndtools 3.4.0 changes, see https://github.com/bndtools/bndtools/wiki/Changes-in-3.4.0.
- The
checktask used to hold the actions to run the OSGi JUnit tests. It was not a good idea to put those actions directly on thechecktask as other plugins also add tasks whichcheckwill depend upon. So a newtestOSGitask is added which holds the actions to run OSGi JUnit tests and thechecktask depends ontestOSGi. So executing thechecktask 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 -runbundlesinstruction in the file. The newresolvetask 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-Versionin 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.
- Bnd supports a new DS annotations processing option
versionwhoseminimumattribute sets the default version of DS support. If unspecified, the minimum version of DS supported is now 1.3.
-dsannotations-options: version;minimum=1.0.0
- Starting in Bnd 3.1, a comment line ending in
\was incorrectly continued onto the next line. This is incorrect and has been fixed. - In the Bnd Gradle Plugin for Workspace builds, the actions to run OSGi JUnit tests have been moved from the
checktask to the newtestOSGitask. This should mostly be transparent unless your build scripts configure thechecktask for the OSGi JUnit test execution. That configuration will now need to be made to thetestOSGitask. - When Bnd processes OSGi DS annotations, it now defaults to 1.3 as the base DS version. To work with older DS versions, for example, Eclipse Equinox DS currently does not support DS 1.3, use
-dsannotations-options: version;minimum=1.0.0
to select a lower base DS version.
- 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
OSGiRepositoryreplaces theaQute.bnd.deployer.repository.FixedIndexReporepository plugin which will be deprecated in the future. Please migrate to theOSGiRepositoryrepository plugin. - The
MavenBndRepositoryreplaces theaQute.bnd.deployer.repository.aether.AetherRepositoryrepository plugin which is now deprecated. Please migrate to theMavenBndRepositoryrepository plugin. - All artifacts now use Java 7 as the compile target. In the prior release, some artifacts had used Java 6 as the compile target.
- Starting in 3.4, the
resolveconfiguration property ofbnd-export-maven-pluginandbnd-testing-maven-pluginwill no longer mutate the-runbundlesvalue of the bndrun files. This can be accomplished using the newbnd-resolver-maven-plugin.
- None at this time.
Dev Meetings Agenda/Protocol
Latest Releases
all versions
- 7.2.1 | 7.2.0
- 7.1.0 | 7.0.0
- 6.4.1 | 6.4.0 | 6.3.1 | 6.3.0
- 6.2.0 | 6.1.0 | 6.0.0
- 5.3.0 | 5.2.0 | 5.1.2 | 5.1.1
- 5.1.0 | 5.0.1 | 5.0.0
- 4.3.1 | 4.3.0 | 4.2.1 | 4.2.0
- 4.1.0 | 4.0.0
- 3.5.0 | 3.4.0 | 3.3.0 | 3.2.0
- 2.2.0
Gradle
- Plugin
- Build Customizations
- Builder & java-library
- Non-Workspace builds
- PluginManagement
- Using Kotlin
- Kotlin DSL jar config
- AntTasks
- Baselining [beta]
- Blurry Form Text on High-Resolution Displays
- Bnd toolchain parity table
- bnddistribute
- Buildpath Versions
- Conflict with M2E PDE Connector
- Eclipse Logging with Logback
- Hackathon June 2012
- Install bnd on the command line
- Is there a mailing list for bnd
- Launching Framework
- Multi-project build order
- Multi-release JAR support design discussion
- Plans wrt to enRoute
- Reading Eclipse project preferences in bnd
- Release Process
- Requirements for New Repository API
- Windows Locked Files
- WIP ideas ‐ bnd 8.0.0 breaking changes
- XML Attributes on Annotations
- [ant] Loading and Expanding Shared Headers or Properties