Kauri Documentation
 PreviousHomeNext 
7.5 Default configurationBook Index7.6.2 Basic structure

7.6 Configuration reference

7.6.1 Overview

7.6.1.1 Location of the configuration file

The default location for the configuration file is KAURI-INF/representations.groovy. In the Maven source tree layout, this is at src/main/kauri/representations.groovy.

If you do not have such a configuration file, it suffices to create it and it will be automatically used. If you are running in source mode, this change will be picked up immediately, if you're not running in source mode you need to rebuild the module and restart Kauri.

7.6.1.2 Syntax

The configuration file is a Groovy program, using the GroovyBuilder pattern. This is the same as for the routing. The routing documentation contains details on motivation and basic syntax information. However, everything you need to know for normal usage can be found below.

7.6.1.3 Examples

Below you'll find the basic reference information. To see examples of how this all fits together, check out the samples included with Kauri.

 PreviousHomeNext 
7.5 Default configuration7.6.2 Basic structure