Re: [rules-users] Rule is not firing

2009-10-26 Thread Macon Pegram
try simply: rule "Your First Rule" dialect "mvel" when Message(message == "Hello" ) then System.out.println("First Rule fired"); end On Mon, Oct 26, 2009 at 6:34 AM, satyasri.ch wrote: > > Hi , > > I am doing the sample drools project. > > Below are the s

Re: [rules-users] Running drools 4 code using drools 5 jars

2009-09-09 Thread Macon Pegram
It is my understanding that the "Rule" apis are being discouraged in favor of the "Knowledge" APIs. They do still work in Drools 5 however, so you should be ok just using that Jar file. In my own project it was actually quite easy to make the switch since most of the APIs are basic renamings. I

Re: [rules-users] Is "emptieness" supported in Drools 5 (LHS)

2009-08-19 Thread Macon Pegram
Edson, Thanks for clarifying this. I appreciate it. Macon 2009/8/19 Edson Tirelli > >Sometimes this is indeed not clear, so I will try to explain here. > Drools uses MVEL to resolve some expressions and semantic code. Although we > would like to make it 100% compatible and enable it to us