cancel
Showing results for 
Search instead for 
Did you mean: 

@Grab inside a groovy script ...

andytau
Champ in-the-making
Champ in-the-making
Hi Everybody,
I'm trying to execute a script task written in groovy.
Within this script I'd like to use @Grab(..) to dinamically link some libs, unfortunately it doesn't work and when I try to execute the task from explorer I get a java.class.ClassNotFoundException : org.ivy.core.report.ResolveReport that has something to do with Apache Ivy  dependency.
The problem is … where do I have to add those dependency, and where to download the ivy.jar ?

Thanks for your help.

KR,
AT
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
As with any web app, add the libraries to the WEB-INF/lib/ folder OR tomcat/lib folder, if you want to share it amongst all your web apps within tomcat. Perhaps google can help you with finding download-location for Ivy…