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
On Sat, Mar 19, 2011 at 3:43 AM, Wolfgang Laun-2 [via Drools - Java Rules
Engine] <ml-node+2701439-1224179138-10124(a)n3.nabble.com> wrote:
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 <[hidden
email]<http://user/SendEmail.jtp?type=node&node=2701439&i=0&by-user=t>
> 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
> [hidden
email]<http://user/SendEmail.jtp?type=node&node=2701439&i=1&by-user=t>
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden
email]<http://user/SendEmail.jtp?type=node&node=2701439&i=2&by-user=t>
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-...
To unsubscribe from drools.rulebase.conf or rulebase.conf?, click
here<http://drools-java-rules-engine.46999.n3.nabble.com/template/Naml...;.