[rules-users] Re : Drools 4.0.x branch has still some issues with serialization

2008-03-13 Thread siddhartha banik
Hi Drools Team, I have checked out *Drools 4.0.x branch* & found that all my test scenarios with *"Dynamic Rules"* are now *working fine* *:-)*. Thanks a lot for fixing the issues so promptly. I appreciate it !!! Now, we will definitely use Drools in our application. I have a *Good To have* fea

Re: [rules-users] accumulate / sum and ArrayList

2008-03-13 Thread Gerald Cantor
Edson, Works like a champ. Thank you so much for you quick response. Regards, Gerald - Original Message From: Edson Tirelli <[EMAIL PROTECTED]> To: Rules Users List Sent: Thursday, March 13, 2008 7:17:14 PM Subject: Re: [rules-users] accumulate / sum and ArrayList Gerald, It i

Re: [rules-users] accumulate / sum and ArrayList

2008-03-13 Thread Edson Tirelli
Gerald, It is not clear if you want to calculate the sum of all integers in the original list or the sum of all integers greater than 0. Assuming you want to sum all integers greater than 0, see example bellow. Adjust the example to your needs if you want something different. You alre

[rules-users] accumulate / sum and ArrayList

2008-03-13 Thread Gerald Cantor
I have an Object in working memory. This object has an ArrayList of Integer objects. I am trying to create a rule that will count all occurrences of Integers in this ArrayList that are non-zero and then calculate the sum of all the Integers in the ArrayList and then check the total against a range

Re: [rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-03-13 Thread Edson Tirelli
Leon, This specific problem was fixed in the 4.0.x branch a few weeks ago. I believe we covered all the scenarios, but in case we missed any, please let us know asap. []s Edson 2008/3/13, Leon Stein <[EMAIL PROTECTED]>: > > I'll test with the latest from 4.0.x branch, in the meanwhil

Re: RE : RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Mark Proctor
Héron Nicolas wrote: Hello, I Had the same probleme with maven 2.0.8 (I used this before) and in the documentation, it is written that maven 2.0.6 is needed, so I went back to 2.0.6 but no change Nicolas (my first name) We are updating the README to say maven 2.0.8. We'll look into the Eclip

Re: [rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-03-13 Thread Leon Stein
I'll test with the latest from 4.0.x branch, in the meanwhile, more info on the actual error: Stack trace: org.drools.RuntimeDroolsException: Exception executing predicate [EMAIL PROTECTED] at org.drools.rule.PredicateConstraint.isAllowed(PredicateConstraint.java:216) at org.dr

RE : RE : RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Héron Nicolas
Hello, I just tried with the 4.0.x, and the bug is fixed with my junit test example. Nicolas Message d'origine De: [EMAIL PROTECTED] de la part de Héron Nicolas Date: jeu. 13/03/2008 17:19 À: Rules Users List; Rules Users List Objet : RE : RE : [rules-users] Do you have a Bug?

RE : RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Héron Nicolas
Hello, I Had the same probleme with maven 2.0.8 (I used this before) and in the documentation, it is written that maven 2.0.6 is needed, so I went back to 2.0.6 but no change Nicolas (my first name) Message d'origine De: [EMAIL PROTECTED] de la part de Edson Tirelli Date: jeu.

RE : RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Héron Nicolas
Hello, Exact. I will try this evening. By the way, my first name is Nicolas Regards Nicolas Message d'origine De: [EMAIL PROTECTED] de la part de Mark Proctor Date: jeu. 13/03/2008 15:00 À: Rules Users List Objet : Re: RE : [rules-users] Do you have a Bug? Edson Tirelli wrote:

Re: RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Mark Proctor
Edson Tirelli wrote: Héron, We are looking into the plugin build error. Meanwhile, please update to maven 2.0.8. Unfortunately maven is having some problems to build with different versions. If it's got that far it means it's atleast building the drools-core and drools-compiler jars. T

[rules-users] .jar with source - bad magic number error

2008-03-13 Thread Rick Lacy
I've sent this to JIRA, too, but I haven't seen this documented anywhere and just thought I'd throw it out there in case anyone else has the same problem... I'm using version 4.0.4 of the BRMS. I'm running RAD 7.0.0.5 (based on Eclipse 3.2.2 I believe), which runs Websphere 6.1.x. I've noticed

[rules-users] Drools and Google Summer Of Code

2008-03-13 Thread Mark Proctor
http://blog.athico.com/2008/03/drools-and-google-summer-of-code.html The Google Summer of Code is beginning. Drools, being a Red Hat project, has to participate under the Fedora banner. So I've put a few project ideas up on the JBoss GSoC

Re: RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Edson Tirelli
Héron, We are looking into the plugin build error. Meanwhile, please update to maven 2.0.8. Unfortunately maven is having some problems to build with different versions. []s Edson 2008/3/13, Héron Nicolas <[EMAIL PROTECTED]>: > > Hello, > I am trying to compile the 4.0.x and > 1) th

RE : [rules-users] Do you have a Bug?

2008-03-13 Thread Héron Nicolas
Hello, I am trying to compile the 4.0.x and 1) there are always test unit not working => I have to skip the test in maven 2) get the following error [java] /home/nheron/workspace-source-drools-4.0.x/jbossrules/drools-eclipse3.2/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/s

Re: [rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-03-13 Thread Mark Proctor
Leon S wrote: We ran into this problem after upgrading from 3.0.* to 4.0.4. Is there a JIRA issue filed for this? I see a few MVEL-related issues scoped for 4.0.5 and 5.0 releases, but nothing that looks like specifically covering this problem. The user who reported this has not provided mo

[rules-users] RE: Can I use drools to solve my problem?

2008-03-13 Thread Anstis, Michael (M.)
I think you misunderstand how rules work. All Facts inserted into working memory will be compared to all patterns in all rules; and where a match is found an activation recorded (i.e. LHS runs). So the following would group all products of type (if you insert DelieveryList's into WM and set the