Daisy documentation
 PreviousHomeNext 
4.16.4 LoggingBook Index4.17 Repository Implementation

4.16.5 Launcher

The purpose of the launcher is to easily start the repository server without the need to add all the required implementation jars to the classpath of your project. When using the launcher, you only need the launcher jar on the classpath, and the launcher will then construct a classloader containing the required dependencies. This also means that you don't need to update classpaths if they change between Daisy versions.

More precisely, the launcher supports launching of 3 different things:

Except for the CLI, you usually start these things with the purpose of being able to talk to them. For this, you still need the required repository APIs in your classloader.

The launcher jar is also executable using java -jar, in which case it will start the Daisy Runtime CLI.

Some pointers to examples:

 PreviousHomeNext 
4.16.4 Logging4.17 Repository Implementation