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);
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
William Karl Thompson
Sent: Thursday, December 12, 2013 11:06 AM
To: [email protected]
Subject: RE: cTAKES Groovy...
Seems unlikely to be the source of your problem, but could it be a firewall
issue?
-----Original Message-----
From: Richard Eckart de Castilho [mailto:[email protected]]
Sent: Thursday, December 12, 2013 11:04 AM
To: [email protected]
Subject: Re: cTAKES Groovy...
Might be a temporary network problem. The artifact is on Maven Central:
http://search.maven.org/#artifactdetails%7Cedu.mit.findstruct%7Cfindstructapi%7C0.0.1%7Cjar
-- Richard
On 12.12.2013, at 15:01, "Masanz, James J." <[email protected]> wrote:
> The story continues:
>
> The @GrabResolver line from Richard did the trick for jwnl.
>
> But I cleared my .groovy/grapes and .m2/repository and tried running
> parser.groovy and get the following:
>
> 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]
>
> FYI. I will take a look but if anyone has any hints, don't be shy
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Finan, Sean
> Sent: Friday, December 06, 2013 2:38 PM
> To: [email protected]
> Subject: RE: cTAKES Groovy...
>
> Good stuff - Thanks Richard
>
> -----Original Message-----
> From: Masanz, James J. [mailto:[email protected]]
> Sent: Friday, December 06, 2013 3:30 PM
> To: '[email protected]'
> Subject: RE: cTAKES Groovy...
>
> Thanks Richard! That did the trick
>
> I'll create a JIRA and update the script including adding a comment that that
> @GrabResolver is only needed for pre-OpenNLP 1.5.3 and should be removed
> when we upgrade to 1.5.3+. and I'll update CTAKES-191 "Update Apache OpenNLP
> dependency to 1.5.3" with a reminder to update the script.
>
> Trunk of cTAKES still uses 1.5.2-incubating
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Richard Eckart de Castilho
> Sent: Friday, December 06, 2013 2:12 PM
> To: [email protected]
> Subject: Re: cTAKES Groovy...
>
> On 06.12.2013, at 18:01, "Masanz, James J." <[email protected]> wrote:
>
>> I have not solved my issues on my ubuntu server yet where "Error
>> grabbing Grapes -- [unresolved dependency: jwnl#jwnl;1.3.3: not found]"
>
> This has also already been fixed in OpenNLP 1.5.3, so there must be some
> dependency on OpenNLP 1.5.(1|2)-incubating.
>
> Anyway, you should be able to fix it by adding this to the beginning of your
> Groovy script, in front of the Grapes:
>
> @GrabResolver(name='opennlp.sf.net',
> root='http://opennlp.sourceforge.net/maven2')
>
> -- Richard
>