[rules-users] Upgrading from Drools 2 to 5

2011-02-11 Thread Saleem Lakhani
Hi,

 

I need some help regarding upgrading our validation engine from 2.0 to
5.0, I have added the required jars and my java code is compiling but
the DRL and DSL are not. Any suggestions?

 

Thanks,

saleem

 

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


Re: [rules-users] Upgrading from Drools 2 to 5

2011-02-11 Thread Esteban Aliverti
Errors? Samples?



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/2/11 Saleem Lakhani saleem.lakh...@citizensfla.com

  Hi,



 I need some help regarding upgrading our validation engine from 2.0 to 5.0,
 I have added the required jars and my java code is compiling but the DRL and
 DSL are not. Any suggestions?



 Thanks,

 saleem



 ___
 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] Upgrading from Drools 2 to 5

2011-02-11 Thread Mauricio Salatino
What kind of errors are you getting?
Can you share with us that information?

2011/2/11 Saleem Lakhani saleem.lakh...@citizensfla.com

  Hi,



 I need some help regarding upgrading our validation engine from 2.0 to 5.0,
 I have added the required jars and my java code is compiling but the DRL and
 DSL are not. Any suggestions?



 Thanks,

 saleem



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




-- 
 - CTO @ http://www.plugtree.com
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar

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


Re: [rules-users] Upgrading from Drools 2 to 5

2011-02-11 Thread Saleem Lakhani
HI,

 

Ok .. I did some tweaking and was able to get 1 simple rule to compile:

 

I think I just need to go over the drl and do some manipulations like:

 

1.   Changed .drl ifles to .dslr

2.   Did some rule syntax changes like:

 

[when]Coverage information exists=coverageTO : CoverageTO() à   
[condition][]Coverage exist= coverageTO : CoverageTO()

  

How do I write something like this in drools 5:

 

[when]myCondition=eval((coverageTO.getAmount()==null || 
coverageTO.getDeductible().length() =0)  coverageTO.getOther().length()=0)

 

Thanks for all the help;

saleem

 

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Mauricio Salatino
Sent: Friday, February 11, 2011 3:52 PM
To: Rules Users List
Subject: Re: [rules-users] Upgrading from Drools 2 to 5

 

What kind of errors are you getting?
Can you share with us that information?

2011/2/11 Saleem Lakhani saleem.lakh...@citizensfla.com

Hi,

 

I need some help regarding upgrading our validation engine from 2.0 to 5.0, I 
have added the required jars and my java code is compiling but the DRL and DSL 
are not. Any suggestions?

 

Thanks,

saleem

 


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




-- 
 - CTO @ http://www.plugtree.com  
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino Salaboy Mauricio -

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