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.
-W
On 18 March 2011 21:22, ljnelson <ljnelson(a)gmail.com> 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-...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users