groovy grape verbose

后端 未结 4 1711
醉梦人生
醉梦人生 2020-12-14 17:39

Is there a way to print Ivy output when using Groovy Grape.

when I use Grape, it\'s just hanging there till finishes downloading all dependencies. I would like to kn

相关标签:
4条回答
  • 2020-12-14 18:02

    tim_yates answer is good but if you need to debug a problem with Grapes, then this might be useful:

    -Divy.message.logger.level=4
    

    source: http://theholyjava.wordpress.com/2012/04/02/groovy-grape-troubleshooting-failed-download/

    0 讨论(0)
  • 2020-12-14 18:09

    Looks like this might be in Groovy 1.7.6

    http://jira.codehaus.org/browse/GROOVY-4014

    i.e. -Dgroovy.grape.report.downloads=true in JAVA_OPTS or on the command line

    0 讨论(0)
  • 2020-12-14 18:11

    For full debugging, you need to use both of these settings exported via JAVA_OPTS when running in a Groovy script.

    export JAVA_OPTS='-Divy.message.logger.level=4 -Dgroovy.grape.report.downloads=true'
    ./myScript.groovy
    
    0 讨论(0)
  • 2020-12-14 18:16

    windows set JAVA_OPTS="-Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 %JAVA_OPTS%" unix export JAVA_OPTS="-Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 $JAVA_OPTS"

    0 讨论(0)
提交回复
热议问题