Normally you could just peform an
import someClassName
and the groovy script will import the class (assmuming its all in the current dir).
However, how would I accomplish this when the script is run via the groovy script runner?
what is the difference? the same way, in the beginning of the script. Doesn't it work for you? do you have some errors?
I encounter something along the lines of
noMethodError
however if i use the class in the same file, it works.
Please give more context and some non-working sample code
Thanks for the assistance but it appears to be working now. I'm unsure what I did differently from the first time I tested it.
It looks like you're new here. Sign in or register to get started.