| <html> |
| <head> |
| <!-- Matomo --> |
| <script> |
| var _paq = window._paq = window._paq || []; |
| /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ |
| _paq.push(["setDoNotTrack", true]); |
| _paq.push(["disableCookies"]); |
| _paq.push(['trackPageView']); |
| _paq.push(['enableLinkTracking']); |
| (function() { |
| var u="https://analytics.apache.org/"; |
| _paq.push(['setTrackerUrl', u+'matomo.php']); |
| _paq.push(['setSiteId', '79']); |
| var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
| g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); |
| })(); |
| </script> |
| <!-- End Matomo Code --> |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| <title>Grails Reference</title> |
| <link rel="stylesheet" href="../../css/ref.css" type="text/css" media="screen" title="Ref" charset="utf-8"> |
| <link rel="icon" href="../../img/favicon.ico" type="image/x-icon"> |
| <link rel="shortcut icon" href="../../img/favicon.ico" type="image/x-icon"> |
| |
| </head> |
| <body class="body"> |
| <h1>install-templates</h1><p class="paragraph"/><h2>Purpose</h2><p class="paragraph"/>Installs the templates used by Grails during code generation<p class="paragraph"/><h2>Examples</h2><p class="paragraph"/><div class="code"><pre>grails install-templates</pre></div><p class="paragraph"/><h2>Description</h2><p class="paragraph"/>Usage:<p class="paragraph"/><div class="code"><pre>grails install-templates</pre></div><p class="paragraph"/>Fired Events: |
| <ul class="star"> |
| <li><code>StatusUpdate</code> - When the templates are successfully installed</li> |
| </ul><p class="paragraph"/>The <code>install-templates</code> command will install the set of templates Grails uses for all code generation activities to the <code>src/templates</code> directory. The templates installed are as follows:<p class="paragraph"/><div class="code"><pre>src |
| templates |
| artifacts |
| scaffolding |
| war</pre></div><p class="paragraph"/>The <code>artifacts</code> directory contains the templates used by the <code>create-* </code> commands. |
| The <code>scaffolding</code> directory contains templates used by the <code>generate-* </code> commands. |
| The <code>war</code> directory contains the web.xml template used to generate the deployment descriptor. |
| |
| </body> |
| </html> |