[rules-users] sequential mode

2007-09-25 Thread ekke
in the docs I read: 2.5.6 ... StatelessSession supports sequential mode... 2.5.10 ... Sequential mode can only be used with a StatefulSession so whats true ? thx for info ekke -- View this message in context: http://www.nabble.com/sequential-mode-tf4513876.html#a12874505 Sent from the drools

Re: [rules-users] Using DSL and accumulate in Drools BRMS leads to unexpected results

2007-09-25 Thread Cristiano Giuffrida
Thanks, I just opened a JIRA: http://jira.jboss.com/jira/browse/JBRULES-1219 Should I open a JIRA for the following problem, too? http://www.nabble.com/org.drools.base.accumulators.CountAccumulateFunction-error-with-Drools-BRMS-4.0.1-tf4414590.html#a12592552 Regards, CG On 9/11/07, Edson

Re: [rules-users] sequential mode

2007-09-25 Thread Mark Proctor
Thats a mistake, I'll correct it now. If you try it sequential mode blows up the engine in statefulsession. Mark ekke wrote: in the docs I read: 2.5.6 ... StatelessSession supports sequential mode... 2.5.10 ... Sequential mode can only be used with a StatefulSession so whats true ? thx for

Re: [rules-users] Using DSL and accumulate in Drools BRMS leads to unexpected results

2007-09-25 Thread Edson Tirelli
Please do. 2007/9/25, Cristiano Giuffrida [EMAIL PROTECTED]: Thanks, I just opened a JIRA: http://jira.jboss.com/jira/browse/JBRULES-1219 Should I open a JIRA for the following problem, too?

Re: [rules-users] eclipse drools builder doesn't recognize functions ...?

2007-09-25 Thread Mark Proctor
There is a known bug in the Eclipse frameowork that when jdk14 is used we cannot override the JDT Core compiler to allow static imports, thus it shows this error, however it executes fine. Mark Manukyan, Sergey wrote: Getting error reports by drools builder in 4.0.1 telling

Re: [rules-users] DSL expression - ??

2007-09-25 Thread vdelbart
OK, I open the JIRA : http://jira.jboss.com/jira/browse/JBRULES-1222 V. Edson Tirelli-3 wrote: Seems IDE needs fixing then. May I ask you please to open a JIRA. I will talk to kris about it. Thanks. Edson -- View this message in context:

Re: [rules-users] eclipse drools builder doesn't recognize functions ...?

2007-09-25 Thread Waruzjan Shahbazian
ekke schreef: manukyan, I noticed a problem if the function has the same name as the package, please rename your function and try again. ekke btw: please always open a new thread for a new topic Manukyan, Sergey wrote: Getting error reports by drools builder in 4.0.1 telling The method

RE: [rules-users] eclipse drools builder doesn't recognize functions...?

2007-09-25 Thread Manukyan, Sergey
Thanks Mark. It does execute fine, aalthough an inconvenience. I ended up having a separate java class for storing static functions. Ekke : renaming function to be different from package name didn't help... -Sergey From: [EMAIL PROTECTED]

[rules-users] RE: eclipse drools builder doesn't recognize functions...?

2007-09-25 Thread ekke
I had a .drl (which runs thru a RuleFlow) and until I renamed the function I got ... Exception in thread main java.lang.StackOverflowError at org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:2313) at

[rules-users] eval() not working as expected

2007-09-25 Thread Brian Enderle
I am having a problem with eval() which can be found here: http://rafb.net/p/GnneUd12.html. Sorry for not posting the question here but I kept getting a top-posting error. If anyone knows why I would get the top-posting error I would love to know why. Thanks in advance, Brian Enderle

[rules-users] Comparing multiple instances of the same object

2007-09-25 Thread Brian Enderle
I have 3 Rfrnc objects that I would like to compare and return a message if the firstNm, middleNm and lastNm of two objects match. I set up the Rfrnc objects with the names Brian A Enderle, Brian B Enderle and Brian C Enderle and created the following rule (with the intent of building up to

Re: [rules-users] Re: eval() not working as expected

2007-09-25 Thread Edson Tirelli
Yes, but what is the preview of your DSL rule in DRL form? There is a tab in the bottom of the code editor in the IDE... 2007/9/25, Brian Enderle [EMAIL PROTECTED]: Best way to know is preview your DRL rule in IDE and check what is wrong (or paste it here). []s Edson Here is

[rules-users] escaping backslash in matches clauses (documentation bug?)

2007-09-25 Thread Godmar Back
The documentation states that '\' occurring in matches clauses do not need escaping. However, unescaped '\' cause this error message when compiling the .drl file: Exception in thread main org.drools.rule.InvalidRulePackage: Unable to determine the used declarations : [Rule name=Apply XML

[rules-users] Re: escaping backslash in matches clauses (documentation bug?)

2007-09-25 Thread Godmar Back
PS. I was a bit too quick with my email; that is not to say that I don't suspect there to be a problem. It appears to depend on whether the left-hand side of the matches clause is a field or a Java expression. For instance: f : Fact( w matches \. ) does not require escaping in accordance