On 22/10/2009, at 4:31 AM, Peter Ledbrook wrote:
>> In a plugin I am working on, I need to use classes from src/groovy
>> in my
>> _Events.groovy.
>>
>> The problem is that when _Events.groovy is sourced those classes
>> aren't
>> compiled and available.
>>
>> Any options other than resorting to loadClass() ?
>
> Nope, don't think so. Other than put the classes in a JAR file.
I went with that.
I also had to force a compile, but it's invoked only before it's
actually needed, not on each execution of _Events.
Any objections to that?
It feels a little iffy to me, but I can't find any negative side
affects or another way.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email