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 installedStatusUpdate- When the templates are successfully installedInstallTemplatesEnd- After the templates have been installed
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
warartifacts 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.

