(Quick Reference)

install-templates

Purpose

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

Examples

Propósito

Copia las plantillas usadas por Grails durante la generación del código dentro del directorio de su proyecto

Ejemplos

grails install-templates

Description

Usage:

Descripción

Uso:

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:

  • InstallTemplatesStart - Las plantillas son instaladas antes.
  • StatusUpdate - Cuando las plantillas son instaladas satisfactoriamente.
  • InstallTemplatesEnd - Las plantillas has sido instaladas después.

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.

El directorio artifacts contiene las plantillas usadas por el comando @create-* . El directorio scaffolding contiene las plantillas usadas por el comando generate-* . El directorio war contiene la plantilla del web.xml usado para generar el descriptor de despliegue.