If you use the one packagebuilder, and you add the source first from the one with the function, and then the others, yes that should work just fine !

On 1/11/07, Justine Hlista <justine@vsasset.com> wrote:
Another newbie question - I'm not sure if what I'm trying to do is legal.

I have two drl files, and one contains a function that I would like to use from the other. Is that possible? I am loading the one with the function into the rule base first, then the other. But I get an error message from the other saying the function cannot be resolved. If I copy the function into the other, then it works.

Of course, I can always write a Java helper class for a single definition of the function. But I was just wondering if it is possible to maintain a single function definition in a drl.

Thanks in advance for any enlightenment!

Justine