@Grab inside a groovy script ...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2013 05:48 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2013 09:37 AM
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…
