Previous Topic

Next Topic

Book Contents

Book Index

Base URLs properties

Base URLs are set as a basis for specifying various relative URLs, such as the directory where core OSGi Runtime bundles are located, the main directory with executable scripts, etc.

System property

Default value

Description

mbs.exec.base

../../pscripts/

The URL of the base directory of executable scripts. The value of this property can be an http://, ftp:// and file:/ URL, or a file location (relative or absolute). It is recommended that this property ends with "/".

mbs.bundles.base

../../../bundles

Specifies bundle base URL. When installing a bundle, whose location is not an absolute URL or an absolute path, then the location is considered relative to the mbs.bundles.base directory. This property is ignored if the bundle location is preceded by "/".

The bundle base URL should contain a communication protocol identifier, such as http://. For the local file system this is file:///. If the bundle base URL points to a remote machine, access to that URL must be provided. For example, if an HTTP URL is assigned, it should be registered as a resource in an HTTP server running on the target machine.

mbs.urlbase

Specifies the base location it is allowed to install bundles from. For example: If this property is set to https://, to be able install to a bundle its location must start with https://.