[rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

Kris Verlaenen Kris.Verlaenen at cs.kuleuven.be
Mon Jul 16 17:36:28 EDT 2007


Ronald,

Could you try not setting the compiler compliance level of your 
eclipse project to 1.4 but leaving that to 5.0 and only setting the 
source compatibility level and the generated .class files 
compatibility to 1.4?  The plugin needs a 5.0 compliant parser, but it 
can generate 1.4 compliant class files.  The errors in the rules 
should then disappear.

Kris

Citeren "Ronald R. DiFrango" <ron.difrango at gmail.com>:

> All,
> 
> I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no
> all of a
> sudden my DRL files give me the following error:
> 
> Severity and Description    Path    Resource    Location    Creation
> Time
> Id
> Syntax error, static imports are only available if source level is
> 5.0
> RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
> modelDiscrepancyRules.drl    line 20    1184006663382    77860
> 
> On all rules.
> 
> Thoughts?
> 
> Ron
> 






More information about the rules-users mailing list