[rules-users] Re: [drools-user] using function from another .drl file

Justine Hlista justine at vsasset.com
Fri Jan 12 12:56:03 EST 2007


Ah -- that was the problem, I was using a new packagebuilder each time
(d'oh)!

But that brings up another thing...in some cases, I may want the rules
source for a given package to be spread across multiple drl files. (I know
the convention is to have everything from the package in a single drl file,
but for management and organization we may need to spread across multiple
drl files). In order to add drls to an existing package, I have to be able
to get the package name from the drl to look up a hashed builder. Is there
any part of the public API, e.g from the antlr parser, that might help me
with that? I have a very inefficient workaround at the moment, but if I
could get to the parse interface, I might be able to make it better.

Thanks,
Justine


On 1/12/07, Michael Neale <michael.neale at gmail.com> wrote:
>
> 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 !
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070112/65f9595c/attachment.html 


More information about the rules-users mailing list