• Intro Headers Instructions Macros
  • Fork me on GitHub
    • Release
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Manifest Annotations
    • Resolving Dependencies
    • Launching
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • From the command line
    • For Developers
    • Plugins
    • Tools bound to bnd
    • File Format
    • Header Reference
    • Instruction
    • Instruction Index
    • Macro Reference
    • Command Reference
    • Plugins Reference
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
    Supported by OSGi enRoute
  • Bundle-Name STRING

    If the Bundle-Name is not set, it will default to the Bundle-SymbolicName.

    		//
    		// Use the same name for the bundle name as BSN when
    		// the bundle name is not set
    		//
    		if (main.getValue(BUNDLE_NAME) == null) {
    			main.putValue(BUNDLE_NAME, bsn);
    		}
    
    • Contact
    • Developers
    • More