ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: Custom Task using Groovy
Date Tue, 08 Dec 2009 13:46:37 GMT
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 from my build script, but the property setters are not
> getting called.  I've even explicitly coded the setters, to make sure
> they are visible to the Ant code.
>
>  
>
> Is there some trick I am missing, or am have I just overlooked something
> dumb in my code?
>
>  
>
> Thanks, Mike
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message