开发者

What is the equivalent of $0 in a Groovy script?

开发者 https://www.devze.com 2022-12-21 00:07 出处:网络
With Perl and shell scripts, the variable $0 holds the name of the file contain开发者_运维问答ing the script. What is the equivalent in a Groovy script?I don\'t think it\'s currently available. See GR

With Perl and shell scripts, the variable $0 holds the name of the file contain开发者_运维问答ing the script. What is the equivalent in a Groovy script?


I don't think it's currently available. See GROOVY-1642 for a discussion of workarounds.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号