[rules-users] Problems with guvnor 5.3.0

2012-09-07 Thread paco
Hello everybody
My rules work well on guvnor 5.0.1
But when I run on guvnor 5.3.0
I get the following error:
Unable to Analyse Expression int i=0; for(i=0; i $methode.size(); i++) {
.; };: [Error: no such identifier: i] [Near : {...
for(i=0; i $ methode.size(); i++) { }] ^ [Line: 2, Column: 11]

Can someone tell me what does not work well?

Thanks



--
View this message in context: 
http://drools.46999.n3.nabble.com/Problems-with-guvnor-5-3-0-tp4019647.html
Sent from the Drools: User forum mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Problems with guvnor 5.3.0

2012-09-07 Thread Wolfgang Laun
Either use
   5.4.0
or
  for( int i = 0; i  ... )
or
  do NOT use dialec mvel.

-W

On 7 September 2012 16:53, paco fifi_nji...@yahoo.fr wrote:

 Hello everybody
 My rules work well on guvnor 5.0.1
 But when I run on guvnor 5.3.0
 I get the following error:
 Unable to Analyse Expression int i=0; for(i=0; i $methode.size(); i++) {
 .; };: [Error: no such identifier: i] [Near : {...
 for(i=0; i $ methode.size(); i++) { }] ^ [Line: 2, Column: 11]

 Can someone tell me what does not work well?

 Thanks



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Problems-with-guvnor-5-3-0-tp4019647.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Problems with guvnor 5.3.0

2012-09-07 Thread paco
Thanks Laune 



--
View this message in context: 
http://drools.46999.n3.nabble.com/Problems-with-guvnor-5-3-0-tp4019647p4019650.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users