O'Reilly logo

OSGi and Apache Felix 3.0 by Walid Joseph Gédéon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the OBR scope commands

The Gogo Command bundle registers a set of commands for the interaction with the OBR service. Those commands allow registering repositories, listing their bundles, and requesting their download and installation.

Let's look at those commands in detail.

obr:repos

The obr:repos command (repos for short, when there are no name conflicts) allows us to manage the repositories of the OBR service.

Its usage is as follows:

g! help repos
repos - manage repositories
scope: obr
parameters:
String ( add | list | refresh | remove )

String[] space-delimited list of repository URLs

The repos add operation is used to register repositories with the OBR service. For example, let's register our releases repository:

g! repos add file:///C:/projects/felixbook/releases/repository.xml ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required