Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

groovy grape verbose

Tags:

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 know what it's happening and what it's downloading.

Thanks,

like image 345
Federico Avatar asked Sep 15 '10 22:09

Federico


People also ask

What is Groovy Grape?

Groovy Grape is a lavender purple ultra linear holographic nail polish.

What is @grab in Groovy?

Ad. The @Grab annotation comes from Groovy's Grape facility. In a nutshell, Grape enables Groovy scripts to download dependency libraries at runtime without using a build tool like Maven or Gradle.


2 Answers

Looks like this might be in Groovy 1.7.6

https://issues.apache.org/jira/browse/GROOVY-4014

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

like image 131
tim_yates Avatar answered Nov 12 '22 06:11

tim_yates


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/

like image 41
akostadinov Avatar answered Nov 12 '22 06:11

akostadinov