| <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>compile </h1><p class="paragraph"/><h2>Purpose</h2><p class="paragraph"/>The <code>compile</code> command will execute the compile phase of the Grails pre-packaging process, which pre-compiles Groovy and Java sources.<p class="paragraph"/><h2>Examples</h2><p class="paragraph"/><pre class="bq"><code> |
| grails compile</code></pre><p class="paragraph"/><h2>Description</h2><p class="paragraph"/>Usage: |
| <div class="code"><pre>grails compile</pre></div><p class="paragraph"/><blockquote class="note"> |
| You can enable verbose compilation for <em class="italic">any</em> Grails task by passing the flag <code>-verboseCompile</code> to the task (e.g. <code>grails run-app -verboseCompile</code>), or by setting the <code>verboseCompile</code> Grails <a href="../../guide/single.html#4.4 Customising the build" class="guide">build setting</a>. |
| </blockquote><p class="paragraph"/>Fired Events: |
| <ul class="star"> |
| <li><code>CompileStart</code> - Before compilation begins</li> |
| <li><code>CompileEnd</code> - After compilation completes</li> |
| </ul><p class="paragraph"/> |
| </body> |
| </html> |