Re: [rules-users] Unable to parse rule to show RETE view error

2008-10-16 Thread drools newbie
ok thanks. Is there any temporary fix for now? Mark Proctor wrote: > > could be a bug, we'll double check this for M3. > > Mark > drools newbie wrote: >> Hello, >> I'm having the same problem as given in below link and tried same >> solution. >> but no luck. I'm using drools 5.0. MR2 in eclipse

Re: [rules-users] null checking

2008-10-16 Thread David Sinclair
read the manual http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/index.html On Thu, Oct 16, 2008 at 3:03 PM, samd <[EMAIL PROTECTED]> wrote: > > > > samd wrote: > > > > How do I evaluate null conditions in the following case for example? > > > > seller: ( seller.cheese != null &

Re: [rules-users] null checking

2008-10-16 Thread samd
samd wrote: > > How do I evaluate null conditions in the following case for example? > > seller: ( seller.cheese != null && seller.active == true ) > cheese: ( cheese.type == "chedder" ) from seller.cheese > > In the above example seller.cheese is null but seller is used in the > second part

Re: [rules-users] null checking

2008-10-16 Thread David Sinclair
I may be wrong, but that rule syntax looks off. Does it compile? This is what I imagine u are trying to do $seller : Seller(cheese != null and active == true) Cheese(type == "chedder") from $seller.cheese On Thu, Oct 16, 2008 at 1:29 PM, samd <[EMAIL PROTECTED]> wrote: > > How do I e

[rules-users] null checking

2008-10-16 Thread samd
How do I evaluate null conditions in the following case for example? seller: ( seller.cheese != null && seller.active == true ) cheese: ( cheese.type == "chedder" ) from seller.cheese In the above example seller.cheese is null but seller is used in the second part of the rule since we can't eval

[rules-users] ClassLoader Problem

2008-10-16 Thread Yann Massard
Hi, I am using version 4.0.7 of Drools. I am trying to load facts with a particular ClassLoader and compiling the rules using the same ClassLoader: -- Reader source = new FileReader("plugin/Sample.drl"); ClassLoader pluginClassLoader = new PluginClassLoader(); Thread.currentThread().setCon

Re: [rules-users] Re: Drools indexing

2008-10-16 Thread Senlin Liang
Thanks Mark! one more thing is that: is drools using some special join algorithms (like star-join) in this case? or there is always one join algorithm in drools? Thanks again, Senlin On Thu, Oct 16, 2008 at 1:02 AM, Mark Proctor <[EMAIL PROTECTED]> wrote: > Senlin Liang wrote: > > My test query