Hi,

in ant with groovy integrated task definition and its libraries

in build.xml in one of the macrop

<macrodef name="printImplicitOjbectXML">
        <sequential>
<groovy>
println(project);
            </groovy>
        </sequential>
    </macrodef>


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()
{
println(project);
}

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.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
-- 
View this message in context: 
http://www.nabble.com/how-get-ant-implicit-objects-in-groovy-scripts-tp25311530p25311530.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to