It's not so simple. The RuleBaseConfiguration constructor uses "rulebase.conf" as an argument to a ChainedProperties constructor call, which promptly prefixes this with "drools." or $HOME + "/drools." or "META-INF/drools." etc., in order to look for properties in all the places mentioned in the documentation.<br>
<br>You can read org.drools.util.ChainedProperties for more details.<br>-W<br><br><br><br><div class="gmail_quote">On 18 March 2011 21:22, ljnelson <span dir="ltr"><<a href="mailto:ljnelson@gmail.com">ljnelson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>From looking at the source code, it appears that the configuration file that<br>
is scanned for by KnowledgeBaseConfiguration is named rulebase.conf, not<br>
drools.rulebase.conf as mentioned in countless articles.<br>
<br>
Furthermore, a find/grep over the source code does not turn up any<br>
"drools.rulebase.conf" string.<br>
<br>
I assume, therefore, that this is a documentation bug, and that the file<br>
that is actually sought is named rulebase.conf, and that's where I should<br>
put the properties that are named by the KnowledgeBaseConfiguration Javadoc?<br>
<br>
Thanks,<br>
Laird<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/drools-rulebase-conf-or-rulebase-conf-tp2699474p2699474.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/drools-rulebase-conf-or-rulebase-conf-tp2699474p2699474.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>