[rules-users] drools.rulebase.conf or rulebase.conf?

ljnelson ljnelson at gmail.com
Sat Mar 19 09:53:06 EDT 2011


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 at 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-or-rulebase-conf-tp2699474p2699474.html<http://drools-java-rules-engine.46999.n3.nabble.com/drools-rulebase-conf-or-rulebase-conf-tp2699474p2699474.html?by-user=t>
>> 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-or-rulebase-conf-tp2699474p2701439.html
>  To unsubscribe from drools.rulebase.conf or rulebase.conf?, click here<http://drools-java-rules-engine.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2699474&code=bGpuZWxzb25AZ21haWwuY29tfDI2OTk0NzR8ODk5ODM2NTky>.
>
>


--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/drools-rulebase-conf-or-rulebase-conf-tp2699474p2702054.html
Sent from the Drools - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110319/2035df10/attachment.html 


More information about the rules-users mailing list