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" <[EMAIL PROTECTED]>:

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



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

Reply via email to