4.2 Repository Structure

By default, the provisioning repository is located at $SERVER_HOME/repository and consists of three main directories: bundles, libraries and installed.

The bundles directory contains all the bundles available in the repository. The libraries directory contains all the library definitions. Note that libraries reference bundles that are installed elsewhere in the repository, e.g. by default under the bundles directory. The installed directory is used by the SpringSource dm Server at runtime, and should not contain used bundles or libraries.

The bundles directory is further subdivided into three directories: ext, subsystems and usr.

The ext and usr directories are intended to contain third-party bundles, with ext containing bundles supplied with the SpringSource dm Server and usr containing bundles installed by the end user. The subsystems directory is for internal use only.

The libraries directory is similarly organized, with an ext and usr directory. As with bundles, new libraries should be installed into libraries/usr.