开发者

Unable to understand relative path in Groovy.bat -cp command

开发者 https://www.devze.com 2023-02-15 09:59 出处:网络
The follow开发者_如何学Cing that I have to use to run my groovy class file ..\\bin\\groovy.bat-cp ....;%classpath%;..\\lib; GetTemplateNode.groovy

The follow开发者_如何学Cing that I have to use to run my groovy class file

..\bin\groovy.bat -cp ....;%classpath%;..\lib; GetTemplateNode.groovy

I am confused with .... part in the command before the groovy.bat and after the -cp.

Can you please explain me what each part of this command actually stand for?

Thank you


The .... is probably a mistake. Other than that, the command is starting the GetTemplateNode.groovy script, and adds the lib folder, that is located one folder above, to the classpath.

0

精彩评论

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