-
-
Notifications
You must be signed in to change notification settings - Fork 303
Reading Eclipse project preferences in bnd
Peter Kirschner edited this page Nov 28, 2025
·
1 revision
It is possible to read the properties of the Eclipse preferences for a project in your *.bnd file to use the containing properties. Just include .setting/org.eclipse.jdt.core.prefs into a *.bnd file of your wish.
For example
If you want to use the compiler version of your project preferences instead of the default one (1.5, found in default.bnd), you have to add the following code into this file.
# Java Compiler Options
java: java
javac: javac
# Custom preferences for Java compiler
#javac.source: 1.5
#javac.target: 1.5
# Using Eclipse project preferences for Java compiler
-include: .settings/org.eclipse.jdt.core.prefs
javac.source: ${org.eclipse.jdt.core.compiler.source}
javac.target: ${org.eclipse.jdt.core.compiler.source}
javac.debug: on
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