0

I'm trying the following @Grab from Eclipse

@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7' )

When i run it though, Eclipse just stops responding.

This one works.

@Grab('com.github.groovy-wslite:groovy-wslite:0.8.0')

Is there anything I should before I execute the @Grab? Also, I'd like to be able to @Grab wslite version 1.1.0. How can I do that? If I just change the version to 1.1.0, it stops responding again.

I'm very new to Groovy so any help would be appreciated. Thanks.

devanon
  • 161
  • 1
  • 1
  • 12
  • are you behind a proxy? is ws-lite 0.8.0 already in your `~/.m2/repository`? – cfrick Dec 01 '14 at 08:07
  • No proxy. No ws-lite 0.8.0 in my ~/.m2/repository either. I can grab HTTP Builder now. What's left is grab on ws-lite 1.1.0. – devanon Dec 01 '14 at 08:35
  • great. but i guess, there hardly anything SO can do here, now that it works? – cfrick Dec 01 '14 at 08:50
  • you can start by getting more information about what's going on. Add the following to your groovy script run configuration VM arguments: -Dgroovy.grape.report.downloads=true – Dror Bereznitsky Dec 01 '14 at 16:11
  • I added the argument and tried grabbing version 1.1.0 again. I don't get anything, it just loads forever. – devanon Dec 02 '14 at 00:56

0 Answers0