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

Ronald R. DiFrango ron.difrango at gmail.com
Tue Jul 17 09:33:25 EDT 2007


Kris,

I set the compiler compliance to 5.0, but the generated classes to 1.4.  The
only catch is that I also have to set the Source compatibility to 1.4 as
well.  Hence the error still occurs.

Ron

On 7/16/07, Kris Verlaenen <Kris.Verlaenen at cs.kuleuven.be> wrote:
>
> 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
> >
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070717/8cd5d0f3/attachment.html 


More information about the rules-users mailing list