• 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
    • Headers
    • Instruction Reference
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Plugins
    • External Plugins
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • Headers

    Bnd-AddXmlToTest RESOURCE ( ',' RESOURCE )
    Add XML resources from the tested bundle to the output of a test report.
    Bnd-LastModified LONG
    Timestamp from bnd, aggregated last modified time of its resources
    Bundle-ActivationPolicy ::= policy ( ';' directive )*
    The Bundle-ActivationPolicy specifies how the framework should activate the bundle once started.
    Bundle-Activator CLASS
    The Bundle-Activator header specifies the name of the class used to start and stop the bundle
    Bundle-Blueprint RESOURE (',' RESOURCE )
    The Bundle-Activator header specifies the name of the class used to start and stop the bundle
    Bundle-Category STRING (',' STRING )
    The categories this bundle belongs to, can be set through the BundleCategory annotation
    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
    Bundle-Contributors ...
    Lists the bundle contributors according to the Maven bundle-contributors pom entry
    Bundle-Copyright STRING
    The Bundle-Copyright header contains the copyright specification for this bundle. Can be set with the BundleCopyright annotation.
    Bundle-Description STRING
    The Bundle-Description header defines a short description of this bundle..
    Bundle-Developers ...
    Lists the bundle developers according to the Maven bundle-developers pom entry
    Bundle-DocURL STRING
    The Bundle-DocURL headers must contain a URL pointing to documentation about this bundle.
    Bundle-License ::= '<<[EXTERNAL]>>' | ( license ( ',' license ) * )
    The Bundle-License header provides an optional machine readable form of license information.
    Bundle-ManifestVersion ::= 2
    The Bundle-ManifestVersion is always set to 2, there is no way to override this.
    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.
    Bundle-NativeCode ::= nativecode ( ',' nativecode )* ( ',' optional ) ?
    The Bundle-NativeCode header contains a specification of native code libraries contained in this bundle.
    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.
    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
    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.
    Conditional-Package PACKAGE-SPEC (',' PACKAGE-SPEC) *
    Recursively add packages from the class path when referred and when they match one of the package specifications.
    Created-By STRING
    Java version used in build
    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.
    Export-Package ::= export ( ',' export)*
    The Export-Package header contains a declaration of exported packages
    Fragment-Host ::= bundle-description
    The Fragment-Host header defines the host bundles for this fragment.
    Import-Package ::= import ( ',' import )*
    The Import-Package header declares the imported packages for this bundle.
    Include-Resource ...
    Includes resources, see -includeresource
    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.
    Private-Package PACKAGE-SPEC ( ',' PACKAGE-SPEC )*
    Specifies what packages to include
    Provide-Capability ::= capability (',' capability )*
    Specifies that a bundle provides a set of Capabilities,
    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.
    Require-Capability ::= requirement ( ',' requirement )*
    Specifies that a bundle requires other bundles to provide a capability
    Service-Component ::= RESOURCE ( ',' RESOURCE )
    XML documents containing component descriptions must be specified by the Service-Component header in the manifest.
    Test-Cases CLASS ( ',' CLASS ) *
    Header to automatically execute tests in the bnd JUnit tester
    Tool STRING
    Bnd version used to build this bundle
    • GitHub