Re: [rules-users] again eval

2007-10-26 Thread Markus Helbig
Sorry it was my fault, the reason is the same bug i submitted a while ago, there are two conditions with an eval and the DSL Parser makes in 4.0.3 again: eval(firstcondition, eval(secondcondition)) Cheers Markus 2007/10/25, Edson Tirelli [EMAIL PROTECTED]: I see nothing wrong then. Can

Re: [rules-users] JDK version

2007-10-26 Thread Markus Helbig
Do you have to download the source and build it under 1.4? I downloaded the binary files and it does not work in Eclipse 3.3 with Java 5. No i downloaded the binaries and it works with 1.4 ... but you're speaking about Java 5??? Do you have any error messages or stacktrace ... -

Re: [rules-users] Integrating DROOLS in J2EE...

2007-10-26 Thread Paul Smith
I think it was something to do with the move to using the JCI interface. I can't be sure but one of the Drools guys could clarify it. It's no big deal to use Janino though. You just need the janino jar files deployed in your .ear and the classpath set correctly. On 10/26/07, Dean Jones [EMAIL

[rules-users] Compilation time while debugging in 4.0.3

2007-10-26 Thread Chris Woodrow
Hi, Since we have moved to 4.0.3 (from 4.0.0), while runtime haven't sensibly changed, compilation time during debugging (I mean the call of addPackageFromDrl) takes really long, about 10 times what it use to take, the only visible difference is the appearance of Source before MVEL Compilation: in

[rules-users] Scope of bindings, identical patterns

2007-10-26 Thread Julian Morrison
Suppose I have a rule like: rule foo when $a : Cheese(name=Stilton) $b : Cheese(name=Stilton) then # etc end First question: is it possible that a == b ? In other words, can both patterns end up matching the same object in one activation? I have been assuming this is

Re: [rules-users] Integrating DROOLS in J2EE...

2007-10-26 Thread Kurt T Stam
You can also check out the JBossESB project where we already did the integration. --Kurt Paul Smith wrote: I think it was something to do with the move to using the JCI interface. I can't be sure but one of the Drools guys could clarify it. It's no big deal to use Janino though. You just need

Re: [rules-users] Scope of bindings, identical patterns

2007-10-26 Thread Mark Proctor
Julian Morrison wrote: Suppose I have a rule like: rule foo when $a : Cheese(name=Stilton) $b : Cheese(name=Stilton) then # etc end First question: is it possible that a == b ? In other words, can both patterns end up matching the same object in one activation? I

Re: [rules-users] Compilation time while debugging in 4.0.3

2007-10-26 Thread Mark Proctor
Chris Woodrow wrote: Hi, Since we have moved to 4.0.3 (from 4.0.0), while runtime haven't sensibly changed, compilation time during debugging (I mean the call of addPackageFromDrl) takes really long, about 10 times what it use to take, the only visible difference is the appearance of Source

[rules-users] Problem running JBRMS 4.0.3 on JBoss AS 4.2.1

2007-10-26 Thread Aziz Boxwala
I cannot get the BRMS to run on JBoss AS 4.2.1. (on Windows Vista). Any help/hints to fix this will be appreciated. This is the error I get: 12:19:03,577 INFO [STDOUT] ERROR 26-10 12:19:03,576 (Contexts.java:flushAndDestroyContexts:335) could not discover transaction status 12:19:03,579

[rules-users] Matching time diff

2007-10-26 Thread Miguel Figueiredo
Hi listers, I have a fact MyFact that has a Date field in it, and I want to check if the difference between this date and the current date is greater than 10 seconds: The function timediff() returns the difference in seconds between a date and the current date. Rule: rule myRule when

Re: [rules-users] Matching time diff

2007-10-26 Thread Rahul Phadnis
Are you sure that timediff is doing the correct thing? Can you post the code of MyFact and timediff? --- Miguel Figueiredo [EMAIL PROTECTED] wrote: Hi listers, I have a fact MyFact that has a Date field in it, and I want to check if the difference between this date and the current date