<p><br>
Am 09.03.2012 19:16 schrieb &quot;Shur, Bob&quot; &lt;<a href="mailto:robert.shur@hp.com">robert.shur@hp.com</a>&gt;:<br>
&gt;<br>
&gt; Is there something like #include for drl files? That is, something like this:<br>
&gt;<br>
&gt; rule &quot;1&quot;<br>
&gt; when<br>
&gt; then<br>
&gt;  doSomething;<br>
&gt; end<br>
&gt;<br>
&gt; #include &quot;another.drl&quot;<br>
&gt;<br>
&gt; rule &quot;2&quot;<br>
&gt; when<br>
&gt; ...<br>
&gt;<br>
&gt; I know I can load multiple drl files into the knowledge base in Java. I&#39;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>&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</p>