| rulec - Compile project-specific Prolog rules to JARs |
| _java_ -jar gerrit.war _rulec_ |
| Looks for a Prolog rule file named `rules.pl` on the repository's |
| `refs/meta/config` branch. If rules.pl exists, creates a JAR file |
| named `rules-'SHA1'.jar` in `'$site_path'/cache/rules`. |
| Location of the gerrit.config file, and all other per-site |
| configuration data, supporting libraries and log files. |
| Compile rules for all projects. |
| Suppress non-error output messages. |
| Compile rules for the specified project. |
| This command can only be run on a server which has local access to the |
| managed Git repositories. |
| Caching needs to be enabled. See |
| link:config-gerrit.html#cache.directory[cache.directory]. |
| To compile a rule JAR file for test/project: |
| $ java -jar gerrit.war rulec -d site_path test/project |
| Part of link:index.html[Gerrit Code Review] |