I have been using drools 2.x (before it becomes part of jboss) for about 1 year and I'm trying now to migrate my scripts to jbossrules 3.0.1.
I have made the necessary rewriting (XML => plain DRL). Unfortunatly my rules don't compile any more.
I'm wondering if there are a few regression issues :
- a function call within another function is illegal
- reduced conditional expression is illegal in the consequence part (RHS) :
LV = (C)?V1:V2
The problem occurs too with the eclipse compiler :
PackageBuilderConfiguration conf = new PackageBuilderConfiguration(); conf.setCompiler( PackageBuilderConfiguration.ECLIPSE ); PackageBuilder builder = new PackageBuilder(conf);