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

Ronald R. DiFrango ron.difrango at gmail.com
Mon Jul 16 16:24:42 EDT 2007


Mark,

Just curious as to why the IDE treats functions as static imports?

Ron

On 7/9/07, Ronald R. DiFrango <ron.difrango at gmail.com> wrote:
>
> Mark,
>
> I would be happy to help.  The short answer is that, I need my entire
> project - Java classes and all in JDK 1.4 format.  When I tried playing
> with the settings in Eclipse it keeps telling me that either source or class
> files that are generated must be at or above the other's level.  It does not
> look like I can mix and match the two of them.
>
> I guess my alternative would be to create an ANT script that generated the
> 1.4 JAR file.  BTW..it does run just fine and like a champ!
>
> Ron
>
> On 7/9/07, Mark Proctor <mproctor at codehaus.org> wrote:
> >
> >  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
> >
> >
> >
> > _______________________________________________
> > 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/20070716/b47d956e/attachment.html 


More information about the rules-users mailing list