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

2011-10-05 Thread Edson Tirelli
gt;>> when > >>> > >>>def0: EmParamDefinition(paramName == "p2", listIndex == -1) > >>>EmParamValue(paramDefinitionId == def0, requiredValue == 1) > >>>$param : EmParamValue(id == 1, enabled == false) > >>&

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

2011-10-05 Thread Wacław Borowiec
= false) >>>not ParentDisabled(id == 1) >>> then >>>$param.setEnabled(true); >>>update($param); >>> end >>> >>> Thomas >>> >>> -----Original Message----- >>> From: rules-users-boun...@lis

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

2011-10-05 Thread Wolfgang Laun
($param); >>  end >> >> Thomas >> >> -Original Message- >> From: rules-users-boun...@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

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

2011-10-05 Thread Wolfgang Laun
ate($param); > end > > Thomas > > -Original Message- > From: rules-users-boun...@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-use

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

2011-10-05 Thread Wacław Borowiec
omas -Original Message- From: rules-users-boun...@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

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

2011-10-05 Thread Wolfgang Laun
On 5 October 2011 13:27, Wolfgang Laun 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 mailing list rules-users

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 ParentDis

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

2011-10-05 Thread Swindells, Thomas
; 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 followin

[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 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