Re: [rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-02 Thread Marcus Ilgner
2009/6/2 Chris Richmond crichm...@referentia.com: Hello, I am using netbeans and ivy with Drools 5.  I have successfully named, published the jars from drools to and could build my port of the stock ticker application in netbeans, but when I try to run it, I get the following error:

Re: [rules-users] String comparison question

2009-06-02 Thread Nagaraju runkana
Try like this..it's working fine. $c :CashMemoDtl(articleCode:articleCode) eval($c.getArticleCode().equals( Laptop)$c.getArticleCode().equals( Mouse) ) Thanks, -Manya 2009/6/1 Armaghan Mahmud mahmud.armag...@gmail.com Hey guys, I read in a previous post that == in Drools 4.0.7 maps to

[rules-users] drools filtering

2009-06-02 Thread jayadevan . m
HI all I want to applay filter codition on a list , that was generated in d rules .For example first statement applay one filter condtion on one entity list, then I want to filter the result . is it possible in drools ? thanks and regards ___

Re: [rules-users] String comparison question

2009-06-02 Thread Edson Tirelli
It works, but it is not idea, because drools cannot index the constraints used inside an eval. If you are testing for equals, better to use regular constraints. []s Edson 2009/6/2 Nagaraju runkana runkana.nagar...@gmail.com Try like this..it's working fine. $c

Re: [rules-users] rule using sliding window

2009-06-02 Thread Edson Tirelli
In order to keep the rules cleaner and easier to maintain, I prefer to hide the details of the database loading (query, etc) behind a helper method with a clear contract. But up to you. []s Edson 2009/6/2 Bhushan Bhangale bhushan_bhang...@kaleconsultants.com Thanks Edson I read

[rules-users] FW: Nested flow terminating parent flow prematurely

2009-06-02 Thread Tom.E.Murphy
Thanks to Travis Scheponik for trying to help me resolve this. However, neither he nor I could figure it out. Babak solved it here at the boot camp - the subprocesses should have their end nodes with terminate set to TRUE not false, and the parent process should invoke the subprocess with

RE: [rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-02 Thread Chris Richmond
Marcus, I only have the one version of antlr jar that comes in the /lib folder of the drools 5.0 binary distribution, however that was enough to allow me to run the stockticker fusion sample in eclipse no problem. I ported the project to Netbeans and am relying on all of the same jars from that

Re: [rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-02 Thread Edson Tirelli
Chris, There must be a problem with the classpath. That message only shows up when the antlr-runtime jar is not in the classpath. java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream Also, I successfully run examples from command line, outside of eclipse, so it is

RE: [rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-02 Thread Chris Richmond
Ed, Thanks for the feedback. That's pretty much the conclusion I have come to..I will double check the higher priority reference, that sounds possible because we are using Ivy for dependencies with many package dependencies.. Thanks very much for the insights. Chris _

[rules-users] Drools Execution Server: Stateless call: using JSON: Ruby client: Single Rule with single object fires twice

2009-06-02 Thread Premkumar Stephen
Hello all: Please find at http://pastebin.com/m3480a28c 1) a very simple rule 2) the object model 3) the object inserted via json 4) the output from the engine 5) the output from the logs I cannot understand why 1) this rule would fire twice 2) why the rule engine adds the income attribute to

Re: [rules-users] Performance is too bad when using matches predicate

2009-06-02 Thread Jared Davis
starsavari wrote: We are considering drool rule engine for data profiling (run the data through the various regex pattern for data analysis) on a large amount of data. We have rules to determine the SSN, Phone number, Driver license number, tracking number etc. Most of our rules are regex

[rules-users] Help creating a GUI for an example

2009-06-02 Thread Edson Tirelli
Hey people, To achieve a list of short term goals related to Drools, I am implementing a fairly interesting new example using as many features from the Drools 5 platform as I see fit. Among other things, this example will serve as a basis for a few tutorials on the engine capabilities that