• 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
  • -runframework ( 'none' | 'services' | ANY )?

    Prev Next
    Launcher
    Sets the type of framework to run. If 'none', an internal dummy framework is used. Otherwise the Java META-INF/services model is used for the FrameworkFactory interface name.

    • Example: -runfw: none

    • Values: (none | services | ANY)

    • Pattern: .*



    The -runframework instruction sets the type of framework to run when launching an OSGi application. If set to none, an internal dummy framework is used. If set to services or any other value, the Java META-INF/services mechanism is used to locate the FrameworkFactory implementation.

    Note: The name of this instruction is somewhat confusing due to historical reasons. In most cases, you should use the -runfw instruction to specify the actual framework JAR. The -runframework instruction is only needed if you want to control the framework discovery mechanism or use a dummy framework for testing purposes.


    TODO Needs review - AI Generated content

Prev Next
Search
    • Home