• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Project Setup
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Bundle Annotations
    • Accessor Properties
    • SPI Annotations
    • Resolving Dependencies
    • Launching
    • Startlevels
    • Testing
    • Testing with Launchpad
    • Packaging Applications
    • JPMS Libraries
    • Wrapping Libraries to OSGi Bundles
    • Generating Documentation
    • Commands
    • For Developers
    • Tips for Windows users
    • Tools bound to bnd
    • Reference
    • Headers
    • Instruction Reference
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Plugins
    • External Plugins
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • Headers

    page Description Class
    Bnd-AddXmlToTest RESOURCE ( ',' RESOURCE ) Add XML resources from the tested bundle to the output of a test report. Macro
    Bnd-LastModified LONG Timestamp from bnd, aggregated last modified time of its resources Header
    Bundle-ActivationPolicy ::= policy ( ';' directive )* The Bundle-ActivationPolicy specifies how the framework should activate the bundle once started. Header
    Bundle-Activator CLASS The Bundle-Activator header specifies the name of the class used to start and stop the bundle Header
    Bundle-Blueprint RESOURE (',' RESOURCE ) The Bundle-Activator header specifies the name of the class used to start and stop the bundle Header
    Bundle-Category STRING (',' STRING ) The categories this bundle belongs to, can be set through the BundleCategory annotation Header
    Bundle-ClassPath ::= entry ( ',' entry )* The Bundle-ClassPath header defines a comma-separated list of JAR file path names or directories (inside the bundle) containing classes and resources. The full stop ('.' \u002E) specifies the root di- rectory of the bundle's JAR. The full stop is also the default Header
    Bundle-Contributors ... Lists the bundle contributors according to the Maven bundle-contributors pom entry Header
    Bundle-Copyright STRING The Bundle-Copyright header contains the copyright specification for this bundle. Can be set with the BundleCopyright annotation. Header
    Bundle-Description STRING The Bundle-Description header defines a short description of this bundle.. Header
    Bundle-Developers ... Lists the bundle developers according to the Maven bundle-developers pom entry Header
    Bundle-DocURL STRING The Bundle-DocURL headers must contain a URL pointing to documentation about this bundle. Header
    Bundle-License ::= '<<[EXTERNAL]>>' | ( license ( ',' license ) * ) The Bundle-License header provides an optional machine readable form of license information. Header
    Bundle-ManifestVersion ::= 2 The Bundle-ManifestVersion is always set to 2, there is no way to override this. Header
    Bundle-Name STRING The Bundle-Name header defines a readable name for this bundle. This should be a short, hu- man-readable name that can contain spaces. Header
    Bundle-NativeCode ::= nativecode ( ',' nativecode )* ( ',' optional ) ? The Bundle-NativeCode header contains a specification of native code libraries contained in this bundle. Header
    Bundle-RequiredExecutionEnvironment ::= ee-name ( ',' ee-name )* The Bundle-RequiredExecutionEnvironment contains a comma-separated list of execution environ- ments that must be present on the OSGi framework. See Execution Environment on page 44. This header is deprecated. Header
    Bundle-SymbolicName ::= symbolic-name ( ';' parameter ) * The Bundle-SymbolicName header specifies a non-localizable name for this bundle. The bundle symbolic name together with a version must identify a unique bundle though it can be installed multiple times in a framework. The bundle symbolic name should be based on the reverse domain name convention, s Header
    Bundle-Version ::= version The Bundle-SymbolicName header specifies a non-localizable name for this bundle. The bundle symbolic name together with a version must identify a unique bundle though it can be installed multiple times in a framework. The bundle symbolic name should be based on the reverse domain name convention. Header
    Conditional-Package PACKAGE-SPEC (',' PACKAGE-SPEC) * Recursively add packages from the class path when referred and when they match one of the package specifications. Header
    Created-By STRING Java version used in build Header
    DynamicImport-Package ::= dynamic-description ( ',' dynamic-description )* The DynamicImport-Package header contains a comma-separated list of package names that should be dynamically imported when needed. Header
    Export-Package ::= export ( ',' export)* The Export-Package header contains a declaration of exported packages Header
    Fragment-Host ::= bundle-description The Fragment-Host header defines the host bundles for this fragment. Header
    Import-Package ::= import ( ',' import )* The Import-Package header declares the imported packages for this bundle. Header
    Include-Resource ... Includes resources, see -includeresource Header
    Meta-Persistence ::= ( RESOURCE ( ',' RESOURCE )* )? A Persistence Bundle is a bundle that contains the Meta-Persistence header. If this header is not present, then this specification does not apply and a JPA Provider should ignore the corresponding bundle. Header
    Private-Package PACKAGE-SPEC ( ',' PACKAGE-SPEC )* Specifies what packages to include Header
    Provide-Capability ::= capability (',' capability )* Specifies that a bundle provides a set of Capabilities, Header
    Require-Bundle ::= bundle-description ( ',' bundle-description )* The Require-Bundle header specifies that all exported packages from another bundle must be im- ported, effectively requiring the public interface of another bundle. Header
    Require-Capability ::= requirement ( ',' requirement )* Specifies that a bundle requires other bundles to provide a capability Header
    Service-Component ::= RESOURCE ( ',' RESOURCE ) XML documents containing component descriptions must be specified by the Service-Component header in the manifest. Header
    Test-Cases CLASS ( ',' CLASS ) * Header to automatically execute tests in the bnd JUnit tester Header
    Tool STRING Bnd version used to build this bundle Header
    • GitHub