在Grails中将参数作为命令行参数传递 [英] Passing parameters as command line arguments in Grails

查看:102
本文介绍了在Grails中将参数作为命令行参数传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是Grails和Groovy的新手.目前,我正在使用grails test-app命令运行应用程序的测试.就像在Java中一样,现在我想将一些参数作为命令行参数传递.在Grails中有可能吗?如果有人有想法,请与我分享.我正在寻找解决方案.

在此先感谢...........

Hi,

I am new to Grails and Groovy. Currently I am running tests of my application using the command grails test-app. Just like in Java, now I want to pass some parameters as command line arguments. Is it possible in Grails. If anyone has idea, please share it with me. I am searching for the solution.

Thanks in advance...........

推荐答案

这只是我通过谷歌搜索"Groovy命令行选项"获得的成功之一: http://www.comitservices.com/wp/?p=19 [
This was just one of the hits I received by googling "Groovy Command Line Options": http://www.comitservices.com/wp/?p=19[^]. Read there and if your still have gaps to fill find some other sources via given google terms.

Best regards,

-MRB


这篇关于在Grails中将参数作为命令行参数传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆