开发者

how to ship groovy scripts?

How should I package and ship my groovy scripts without assuming groovy to be installed (and on PATH) on client machine? However, JDK/JRE will be available on all client machines.

What I'm currently doing is to groovy-compile & bundle related scripts in a开发者_高级运维 jar with groovy-all-xxx.jar included in the lib (Netbeans does this automatically). But the problem with this approach is - with every independent small script (project), I have to bundle the huge groovy-all jar creating a big binary.

Just wanted to know if there is any better way of doing this.


You might be able to use the extension mechanism for this - that way each client machine would have to download groovy-all-xxx.jar just once.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜