Groovy with Grape and AntBuilder classloader problem

前端 未结 2 1244
眼角桃花
眼角桃花 2021-02-09 11:08

I wanted to use groovy for a little ftp script and found this post http://www.hhhhq.org/blog/2009/05/01/ftp-using-groovy-and-ant/ Since there were several dependencies I wanted

2条回答
  •  -上瘾入骨i
    2021-02-09 11:25

    Or just simply use

    @GrabConfig(systemClassLoader=true)
    

    Further info can be found: http://groovy.codehaus.org/Grape

提交回复
热议问题