开发者

invoking groovy without passing a classpath each time

In a windows environemnt, how can I invoke groovy without having to开发者_运维百科 specifiy the classpath for a given set of JARs each time? I am trying to create a script for an admin so that he can just type groovy deploy [project name].

Edit: Is there anyway to do this through a class path environment variable? Or some other centralized configuration?


The typical way to do this is to write a shell script that calls the Groovy/Java program and passes the desired classpath on the command line.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜