Mike
-Original Message-
From: Antoine Levy Lambert [mailto:anto...@gmx.de]
Sent: Tuesday, December 08, 2009 7:47 AM
To: Ant Users List
Subject: Re: Custom Task using Groovy
Hello Mike,
you could define your task using scriptdef. See
http://ant.apache.org/manual/OptionalTasks/scriptdef.html
Then
Hello Mike,
you could define your task using scriptdef. See
http://ant.apache.org/manual/OptionalTasks/scriptdef.html
Then your groovy class does not need to extend Task.
Regards,
Antoine
Murray, Mike wrote:
I've created a groovy class that (indirectly) extends Task, and I'm
calling it fro
Resolved. It works fine to code a custom task with Groovy and no setter
methods need to be coded.
The "trick" is to not have a macrodef with the same name as your task.
When I meant to call my macrodef, it was calling my task directly. So
the arguments that are passed to my task by my macrode