<p><br>
Am 09.03.2012 19:16 schrieb "Shur, Bob" <<a href="mailto:robert.shur@hp.com">robert.shur@hp.com</a>>:<br>
><br>
> Is there something like #include for drl files? That is, something like this:<br>
><br>
> rule "1"<br>
> when<br>
> then<br>
> doSomething;<br>
> end<br>
><br>
> #include "another.drl"<br>
><br>
> rule "2"<br>
> when<br>
> ...<br>
><br>
> 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.<br></p>
<p>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]<br></p>
<p>Kind regards,</p>
<p>Ansgar</p>
<p>[1] <a href="http://passion.forco.de/content/maven-drools-plugin">http://passion.forco.de/content/maven-drools-plugin</a> <br></p>
<p>><br>
><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</p>