Am 09.03.2012 19:16 schrieb "Shur, Bob" <robert.shur(a)hp.com>:
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.
If you want to achieve binary code reuse for your *.drl files (in contrast
to source code reuse), you might want to have a closer look at the Maven
Drools Plugin. [1]
Kind regards,
Ansgar
[1]
http://passion.forco.de/content/maven-drools-plugin
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users