install-templates

Purpose

Copies the the templates used by Grails during code generation to your project directory

Examples

grails install-templates

Description

Usage:

grails install-templates

Fired Events:

InstallTemplatesStart - Before the templates are installed

StatusUpdate - When the templates are successfully installed

InstallTemplatesEnd - After the templates have been installed

The install-templates command will copy the templates Grails uses for all code generation activities to the application's src/templates directory. The templates directories include:

src
templates
artifacts
scaffolding
war

The artifacts directory contains the templates used by the create-* commands.
The scaffolding directory contains templates used by the generate-* commands.
The war directory contains the web.xml template used to generate the deployment descriptor.

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
Sponsored by SpringSource