Hello, I am new to Gant.
I was trying
Ant.echo("hello gant")
but I am getting this error message:
No such property: Ant for class: build
Any help would be highly appreciated.
Hello, I am new to Gant.
I was trying
Ant.echo("hello gant")
but I am getting this error message:
No such property: Ant for class: build
Any help would be highly appreciated.
In groovy you first need to create an instance of the AntBuilder class. The following code works:
def ant = new AntBuilder()
ant.echo("Hello world")
Actually in grails ant is avaiale by default.
ant.echo("hello gant")
You just need to use lower-case "a" in "ant" and run it. This should work fine.