[rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread wyborowiec
Hello I've got following rule: It compiles fine under Drools 5.1.1, but after switching to 5.3.0.CR1 I get following exception: It is line that causes the problem - the exeption disappears after removing it. What's interesting, when I add '$' sign to binding variable name, and the line

[rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wacław Borowiec
Hello I'm sending the message once again due to problems with code samples visibility in the previous one. I've got following rule: rule enabled paramId: 1, id: 0 salience 50 when (def0: EmParamDefinition(paramName == p2, listIndex == -1) and EmParamValue(paramDefinitionId == def0,

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Swindells, Thomas
@lists.jboss.org Subject: [rules-users] Compilation errors with 5.3.0.CR1 Hello I'm sending the message once again due to problems with code samples visibility in the previous one. I've got following rule: rule enabled paramId: 1, id: 0 salience 50 when (def0: EmParamDefinition(paramName

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wolfgang Laun
For the sake of our readers, I repeat the rule: rule enabled paramId: 1, id: 0 salience 50 when (def0: EmParamDefinition(paramName == p2, listIndex == -1) and EmParamValue(paramDefinitionId == def0, requiredValue == 1)) $param : EmParamValue(id == 1, enabled == false) not

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wolfgang Laun
On 5 October 2011 13:27, Wolfgang Laun wolfgang.l...@gmail.com wrote: Snags like this are due to a completer rework of the DRL parser after 5.1.1. Snags like this are due to a *complete compiler* rework of the DRL parser after 5.1.1. ___ rules-users

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wacław Borowiec
...@lists.jboss.org [mailto:rules-users- boun...@lists.jboss.org] On Behalf Of Waclaw Borowiec Sent: 05 October 2011 10:55 To: rules-users@lists.jboss.org Subject: [rules-users] Compilation errors with 5.3.0.CR1 Hello I'm sending the message once again due to problems with code samples visibility

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wolfgang Laun
@lists.jboss.org Subject: [rules-users] Compilation errors with 5.3.0.CR1 Hello I'm sending the message once again due to problems with code samples visibility in the previous one. I've got following rule: rule enabled paramId: 1, id: 0 salience 50 when (def0: EmParamDefinition

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wolfgang Laun
Borowiec Sent: 05 October 2011 10:55 To: rules-users@lists.jboss.org Subject: [rules-users] Compilation errors with 5.3.0.CR1 Hello I'm sending the message once again due to problems with code samples visibility in the previous one. I've got following rule: rule enabled paramId: 1, id: 0

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Wacław Borowiec
[mailto:rules-users- boun...@lists.jboss.org] On Behalf Of Waclaw Borowiec Sent: 05 October 2011 10:55 To: rules-users@lists.jboss.org Subject: [rules-users] Compilation errors with 5.3.0.CR1 Hello I'm sending the message once again due to problems with code samples visibility in the previous one

Re: [rules-users] Compilation errors with 5.3.0.CR1

2011-10-05 Thread Edson Tirelli
] On Behalf Of Waclaw Borowiec Sent: 05 October 2011 10:55 To: rules-users@lists.jboss.org Subject: [rules-users] Compilation errors with 5.3.0.CR1 Hello I'm sending the message once again due to problems with code samples visibility in the previous one. I've got following rule