With Perl and shell scripts, the variable $0 holds the name of the file containing the script. What is the equivalent in a Groovy script?
+3
A:
I don't think it's currently available. See GROOVY-1642 for a discussion of workarounds.
Ken Liu
2010-02-25 00:10:07