• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Getting Started
      • Introduction
      • How to install bnd
      • Guided Tour Workspace & Projects
      • bnd / bndlib Features and JAR Wrapping Techniques
      • FAQ - Frequently Asked Questions
    • Concepts and Practices
      • Concepts
      • Background
      • Best practices
    • Build and Development
      • Build
      • Generating JARs
      • Versioning
      • Baselining
      • Service Components
      • Metatype
      • Contracts
      • Bundle Annotations
      • Accessor Properties
      • SPI Annotations
    • Dependency and Launching
      • Resolving Dependencies
      • Launching
      • Startlevels
    • Testing
      • Testing
      • Testing with Launchpad
    • Packaging and Distribution
      • Packaging Applications
      • JPMS Libraries
      • Wrapping Libraries to OSGi Bundles
    • Documentation and Tools
      • Generating Documentation
      • bnd CLI Commands
      • For Developers
      • Templates for Workspaces
      • Tips for Windows users
      • Tools bound to bnd
    • Reference Material
      • Reference
      • Headers
      • Instruction Reference
      • Instruction Index
      • Macro Reference
      • Macro Index
      • Plugins
      • External Plugins
    • Configuration and Troubleshooting
      • Settings
      • Errors
      • Warnings
  • Headers

    Prev Next
    page Description Class
    Automatic-Module-Name The module name of an automatic module is derived from the JAR file used to include the artifact if it has the attribute Automatic-Module-Name in its main manifest entry. Header
    bin The bin is used to specify the directory to generate the output binaries. Header
    .bnd Home directory usage (~/.bnd) in bnd. Header
    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-ContactAddress The Bundle-ContactAddress header provides the contact address of the vendor. 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-Icon The optional Bundle-Icon header provides a list of (relative) URLs to icons representing this bundle in different sizes. Header
    Bundle-License ::= '<<[EXTERNAL]>>' | ( license ( ',' license ) * ) The Bundle-License header provides an optional machine readable form of license information. Header
    Bundle-Localization The Bundle-Localization header contains the location in the bundle where localization files can be found. The default value is OSGI-INF/l10n/bundle. Translations are by default therefore OSGI-INF/l10n/bundle_de.properties, OSGI-INF/l10n/bundle_nl.properties, etc. 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-SCM Defines the information about the source code of the bundle 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-UpdateLocation The Bundle-UpdateLocation header specifies a URL where an update for this bundle should come from. If the bundle is updated, this location should be used, if present, to retrieve the updated JAR file. Header
    Bundle-Vendor The Bundle-Vendor header contains a human-readable description of the bundle vendor. 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
    Export-Service Deprecated. Header
    Fragment-Host ::= bundle-description The Fragment-Host header defines the host bundles for this fragment. Header
    Ignore-Package The Ignore-Package is used to ignore a package from being packaged inside the bundle. Header
    Import-Package ::= import ( ',' import )* The Import-Package header declares the imported packages for this bundle. Header
    javac.encoding Sets the Java Compiler Encoding Type. Header
    javac Java Compiler Specific Settings. Header
    javac.profile When using compact profiles, this option specifies the profile name when compiling. Header
    javac.source Sets the Java source compatibility version. Header
    javac.target Sets the Java target compatibility version. 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
    src The src instructs bnd to look for sources in the specified source directories Header
    target-dir The target-dir is used to specify the directory to generate output JAR. Header
    Test-Cases CLASS ( ',' CLASS ) * Header to automatically execute tests in the bnd JUnit tester Header
    testbin The testbin is used to specify the directory to generate the output binaries for test sources. Header
    Tester-Plugin It points to a class that must extend the aQute.bnd.build.ProjectTester class. This class is loaded in the bnd environment and not in the target environment. This ProjectTester plugin then gets a chance to configure the launcher as it sees fit. It can get properties from the project and set these in the Project Launcher so they can be picked up in the target environment. Header
    testsrc The testsrc instructs bnd to look for test sources in the specified directories Header
    Tool STRING Bnd version used to build this bundle Header
Prev Next
Search
    • Home