Unable to understand relative path in Groovy.bat -cp command
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.
精彩评论