-
-
Notifications
You must be signed in to change notification settings - Fork 304
Changes in 5.3.0
BJ Hargrave edited this page Mar 4, 2021
·
21 revisions
- The resolver now gives some (imperfect) feedback on progress during the resolution process.
- The context-sensitive launching for OSGi JUnit tests now works better - in particular, it will now properly launch test methods that have parameters.
- Fixes/improvements for the quick fix processor:
- The versioning policy is now configurable via the Bndtools preferences page for the workspace. You can set it to use either "earliest" (no version attribute) or "latest" (
version=latest) when adding bundles to the-buildpathor-testpath. - Suggestions will now also include classes that belong to your own projects' bundles (previously these were omitted due to a bug).
- Fixed a stack overflow bug on self-referential types (eg,
class MyClass<T extends MyClass<T>> {}). - Added handling for a few more cases of errors caused by missing types.
- The versioning policy is now configurable via the Bndtools preferences page for the workspace. You can set it to use either "earliest" (no version attribute) or "latest" (
- Better error reporting for misconfigured bnd workspaces (eg, missing
bnd.bndfile in a project, missingcnf, etc). - Fixed a bug where non-bundle jars were sometimes listed twice in the repository view.
- A "pin" option is added to the BndTools Explorer view.
- When editing a bnd file, hovering over a macro will show the expansion of the macro.
- Properly creates the
bnd.hashesattribute in-memory for bundles in your workspace (enables workspace bundles to be suggested by QuickFix processor). - Update the EE models to make sure the
java.packages are available to the resolver when resolving bundles which importjava.packages. - Numerous fixes and improvements for resolving.
- Emit service capabilities for DS Factory Components.
- The
-export-apiguardianinstruction now processespackage-info.class. - Several thread-safety fixes.
- Fixed handling of ZIP file extra field support.
- The
MavenBndRepositorycan be configured to release javadoc and sources artifacts to the local repo using theforceattribute on the-maven-releaseinstruction. - The
MavenBndRepositorycan be configured to GPG sign artifacts when released using thesignclause on the-maven-releaseinstruction. - The
findprovidersmacro has been extended to enable control over whether the workspace is searched for providers. -
bndversionmacro is added which returns the version of Bnd. - Improved class loading for Bnd plugins.
- Processor
aarch64is now recognized for Apple Silicon Macs. - Fixed
-includefrom remote locations on workspace level (e.g.cnf/build.bndorcnf/ext/*.bnd). - Added
STATICandINNERquery types to theclassesmacro.
- Documented
-maven-dependenciesand-maven-scopeinstructions which add<dependency>information to the generated pom. These instructions have been supported since 4.2.0 but were not documented. - The
-dsannotations-optionsinstructioninheritoption documentation is expanded.
- The Bnd Maven plugins require a minimum of Maven 3.1.1.
- The
-runeeinference has been updated to use thejava.specification.versionsystem property instead of thejava.versionsystem property when inferring the EE.
- The Bnd Gradle plugins require a minimum of Gradle 5.3 for Java 8 to Java 12, Gradle 6.0 for Java 13, Gradle 6.3 for Java 14, and Gradle 6.7 for Java 15.
- Replaced use of Gradle API which has been deprecated and scheduled for removal in a future version of Gradle.
- For Bnd Workspace support, the
testtask inputs now include thejartask outputs of the projects named in the-dependsonBnd instruction. This means test cases can rely upon the jars built by the-dependsonprojects. - Added
resultsDirectoryproperty toTestOSGiTasktask type.
- Bndtools is built to run on Eclipse 2018-12 or later. So it may not run on older versions of Eclipse.
- The Bnd Gradle plugins no longer work on versions of Gradle less than 5.3.
-
#4574 An NPE in the Bndtools JarEditor. This can be worked around by deleting the hidden
BndtoolsJAREditorTempFilesproject and restarting Eclipse. -
On more recent versions of Eclipse, there is a problem with the undo history for the Bnd editor on
.bndand.bndrunfiles (#4433). -
Windows 10 users: Windows 10 Defender significantly slows down Eclipse, reason being Windows 10 Defender scanning the JAR files. The problem has been reported to Microsoft here. Until then, a workaround to this problem is to add Eclipse root directory to Windows 10 Defender’s exclusion list, detailed steps are shared here.
Note: This is not just an Eclipse issue on Windows 10.
See also Bnd Tips for Windows users.
Latest Releases
all versions
- 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