Reputation: 10213
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?
Upvotes: 4
Views: 487
Reputation: 22914
I don't think it's currently available. See GROOVY-1642 for a discussion of workarounds.
Upvotes: 6