[rules-users] How to include one .drl file from another .drl file

Shur, Bob robert.shur at hp.com
Fri Mar 9 13:15:38 EST 2012


Is there something like #include for drl files? That is, something like this:

rule "1"
when
then
  doSomething;
end

#include "another.drl"

rule "2"
when
...

I know I can load multiple drl files into the knowledge base in Java. I'm just wondering whether someone writing a drl file can include other drls without having to copy and paste.






More information about the rules-users mailing list