how to call groovy application in linux

#!/bin/bash
function launch_shell()
{
    $GROOVY_HOME/bin/groovysh -q -Did=grs
}

function shell_main()
{
    launch_shell "$@"
}

[[ $(basename $0) == "gry" ]] && shell_main "$@"

猜你喜欢

转载自sunxboy.iteye.com/blog/1777203