• 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
  • index [options] <[bundles]...>

    Description

    Index bundles from the local file system

    Synopsis

    Options

    [ -b, --base <uri> ]       - URI from which to make paths in the index file
                                relative (default: relative to the output file
                                directory). The specified value must be a prefix
                                of the absolute output file directory in order
                                to have any effect
    [ -d, --directory <file> ] - The directory to write the repository index file
                                (default: the current directory)
    [ -n, --name <string> ]    - The name of the index (default: name of the
                                output file directory)
    [ -r, --repositoryIndex <file> ] - The name of the repository index file
                                (default: 'index.xml'). To enable GZIP
                                compression use the file extension '.gz' (e.g.
                                'index.xml.gz')
    

    Examples

    • GitHub