Re: [rules-users] Order of firing rules

2007-06-04 Thread Krishnan
Hi Rajesh, Let us say Object obj is of type Foo and both rule1 and rule2 work on Foo, then both rule1 and rule 2 will work on obj. Let us say when obj is added into working memory, rule 1 is fired based on some criterion and rule 2 would not fire on this. However, since rule1 was fired which

[rules-users] new patch

2007-06-04 Thread Krishnan
Hi, I am using the 4.0 M2 branch currently and it prints out any function that I write in the rule file during loading of the rule. I need to add this into production code, will I be able to get a new patch so that I can check in right set of jars. thanks, Krishnan. -- Sivaramakrishna Iyer

[rules-users] Accessing an object in multiple rule

2007-06-04 Thread Rajesh.Sachin10
Hi, I asserted 4 objects of a class with class name “DemoClass” in to working memory. In rule one I am creating a reference for the DemoClass and implementing the logic. In rule2,… I am creating another reference of the DemoClass .so that time it is accessing the next asserted object

[rules-users] Order of firing rules

2007-06-04 Thread Rajesh.Sachin10
Hi, If we wrote 6 [when] [then] rules in an drl file, there is any order in firing the rules or the rules get fired in random? If it is fired in random, there is any method or keywords to control the order of firing the rules? -- View this message in context:

Re: [rules-users] Accessing an object in multiple rule

2007-06-04 Thread Mark Proctor
The object will be available in any rule that matches it. Mark Rajesh.Sachin10 wrote: Hi, I asserted 4 objects of a class with class name “DemoClass” in to working memory. In rule one I am creating a reference for the DemoClass and implementing the logic. In rule2,… I am creating

Re: [rules-users] new patch

2007-06-04 Thread Mark Proctor
M3 is out this week, that printout will be removed. Um why are you putting milestone releases into a production build? These are not production releases, but snapshots of unstable development releases. It's your choice, but just don't moan when api's change or you find some bug, like print

Re: [rules-users] Localization in DSL

2007-06-04 Thread Fernando Meyer
In theory you can write DSLs in any languages, I ain't sure about encoding issues, need to check with tirelli. btw, just try with the japanese encoding and give us your feedback and some screenshots, then we can change that pt_br dsl in jbossrules home ;) We have a ticket to implement i18n

Re: [rules-users] Localization in DSL

2007-06-04 Thread Shigeaki Wakizaka
2007/6/5, Fernando Meyer [EMAIL PROTECTED]: In theory you can write DSLs in any languages, I ain't sure about encoding issues, need to check with tirelli. btw, just try with the japanese encoding and give us your feedback and some screenshots, then we can change that pt_br dsl in jbossrules home