Hi
Are there any good references for how to write Gant scripts for grails ? The Codehaus groovy reference is scant at best and there is really not anywhere else... any good links would be appreciated.
thanks
Hi
Are there any good references for how to write Gant scripts for grails ? The Codehaus groovy reference is scant at best and there is really not anywhere else... any good links would be appreciated.
thanks
Unfortunately not. Here's a useful starting point:
Put that into a scripts/HelloWorld.groovy file and a new 'hello-world' command will be added:Code:includeTargets << grailsScript("_GrailsEvents") target(default: "Prints a Hello world message") { ant.echo message: "Hello world" println "Hello world 2" }
grails hello-world
I can answer more specific questions that you have.
http://gant.codehaus.org has some information, albeit not great.
Best bet is to download the Gant source and crack it open. It's actually a pretty simple wrapper around the AntBuilder.
Thanks guys. I will probably try and look at the source for more information
hi there,well thanks mgivney for sharing this it was really helps me....