Ah! I see now; sorry for the noise--I didn't think to check for the fact that "drools." was a hard-coded prefix.
Thanks,
Laird
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.
You can read org.drools.util.ChainedProperties for more details.
-WOn 18 March 2011 21:22, ljnelson <[hidden email]> wrote:
>From looking at the source code, it appears that the configuration file that
is scanned for by KnowledgeBaseConfiguration is named rulebase.conf, not
drools.rulebase.conf as mentioned in countless articles.
Furthermore, a find/grep over the source code does not turn up any
"drools.rulebase.conf" string.
I assume, therefore, that this is a documentation bug, and that the file
that is actually sought is named rulebase.conf, and that's where I should
put the properties that are named by the KnowledgeBaseConfiguration Javadoc?
Thanks,
Laird
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/drools-rulebase-conf-or-rulebase-conf-tp2699474p2699474.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
If you reply to this email, your message will be added to the discussion below:http://drools-java-rules-engine.46999.n3.nabble.com/drools-rulebase-conf-or-rulebase-conf-tp2699474p2701439.html