ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject how get ant implicit objects in groovy scripts
Date Sat, 05 Sep 2009 19:14:44 GMT


in ant with groovy integrated task definition and its libraries

in build.xml in one of the macrop

<macrodef name="printImplicitOjbectXML">

This prints the java reference value of project but the same in groovy
script  file fails.

In script named A.groovy

public static final void printImplcitObject()

This fails saying project undefined.

Could any one tell me how to get these implicit objects with out having to
pass them from build.xml files as method calling parameter.

Raja Nagendra Kumar,
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message