I tried with the small script (buh):

export JAVA_OPTS="-Dgroovy.grape.report.downloads=true $JAVA_OPTS"
HighFire-6:~ bluefire$ ./buh
Resolving dependency: edu.mit.findstruct#findstructapi;0.0.1 {default=[default]}
Preparing to download artifact 
edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar
Downloaded 13 Kbytes in 2326ms:
  [SUCCESSFUL ] edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar 
(2311ms)
Please specify input directory

looks ok to me.

-- Richard

On 12.12.2013, at 15:54, Tim Miller <[email protected]> 
wrote:

> I was able to replicate the error after removing the findstruct directories 
> from my .groovy and .m2 repositories.
> 
> On 12/12/2013 12:22 PM, Masanz, James J. wrote:
>> Shouldn't be firewall - other grapes download fine.
>> 
>> I created a short groovy script to just grab findstructapi - I copy/pasted 
>> the @grab line from from the Groovy Grape section of
>> http://search.maven.org/#artifactdetails%7Cedu.mit.findstruct%7Cfindstructapi%7C0.0.1%7Cjar
>> 
>> And I still get
>> 
>> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
>> failed:
>> General error during conversion: Error grabbing Grapes -- [download failed: 
>> edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar]
>> 
>> java.lang.RuntimeException: Error grabbing Grapes -- [download failed: 
>> edu.mit.findstruct#findstructapi;0.0.1!findstructapi.jar]
>> 
>> Very odd.
>> 
>> My script is simply:
>> 
>> #!/usr/bin/env groovy
>> @Grab(group='edu.mit.findstruct', module='findstructapi', version='0.0.1')
>> import java.io.File;
>> 
>>              if(args.length < 1) {
>>                      System.out.println("Please specify input directory");
>>                      System.exit(1);
>>              }
>>              System.out.println("Input parm is: " + args[0]);
>>              System.exit(0);

Reply via email to