tags:

views:

58

answers:

1

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