Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove brackets from h3 headers (to enable toc links)

...

Besides providing a service API, OBR implements a Felix shell command for accessing its functionality. For the end user, the OBR shell command is accessed using the text-based or GUI-based user interfaces for Felix' shell service. This section describes the syntax for the OBR shell command.

Anchor
obr-help
obr-help

obr help

Syntax:

No Format
obr help [add-url | remove-url | list-url | list | info | deploy | start | source | javadoc]

...

Anchor
obr-list-url
obr-list-url

obr list-url

Syntax:

No Format
obr list-url

...

Anchor
obr-add-url
obr-add-url

obr add-url

Syntax:

No Format
obr add-url [<repository-file-url> ...]

...

Anchor
obr-remove-url
obr-remove-url

obr remove-url

Syntax:

No Format
obr remove-url [<repository-file-url> ...]

This command removes a repository file to the set of repository files for which the Repository Admin service provides access. The repository file is represented as a URL.

Anchor
obr-list
obr-list

obr list

Syntax:

No Format
obr list [<string> ...]

This command lists bundles available in the bundle repository. If no arguments are specified, then all available bundles are listed, otherwise any arguments are concatenated with spaces and used as a substring filter on the bundle names.

Anchor
obr-info
obr-info

obr info

Syntax:

No Format
obr info <bundle-name>[;<version>] ...

...

Anchor
obr-deploy
obr-deploy

obr deploy

Syntax:

No Format
obr deploy <bundle-name>[;<version>] ... | <bundle-id> ...

...

For the above example, if version "1.0.0" of "Bundle Repository" is already installed locally, then the command will attempt to update it and all of its dependencies; otherwise, the command will install it and all of its dependencies.

Anchor
obr-start
obr-start

obr start

Syntax:

No Format
obr start [-nodeps] <bundle-name>[;<version>] ...

...

Anchor
obr-source
obr-source

obr source

Syntax:

No Format
obr source [-x] <local-dir> <bundle-name>[;<version>] ...

...

The above example retrieves the source archive of version "1.0.0" of the bundle named "Bundle Repository" and saves it to the specified local directory.

obr javadoc

Syntax:

No Format
obr javadoc [-x] <local-dir> <bundle-name>[;<version>] ...

...