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

Mark Proctor mproctor at codehaus.org
Mon Jul 9 14:59:06 EDT 2007


On M3? if you look at the JavaDialect you should see that the source is 
always set ti jdk1.5, can never go below that, but the target is 1.4 - 
which should allow static imports in a jdk1.4 environment. The unit 
tests for it are working, maybe you can look into debugging this one for me?

Mark
Ronald R. DiFrango wrote:
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070709/a4c6a13f/attachment.html 


More information about the rules-users mailing list