title: How to run Gant targets from within a Grails controller?
body: <p>Suppose I have a block of Gant code:</p>
  
  <pre><code> target(echo:"test"){
      ant.echo(message:"hi")
   }
   setDefaultTarget("echo")
  </code></pre>
  
  <p>This is usually run from a command line.</p>
  
  <p>How could I place the block in a Grails controller and run it from there?</p>