Re: [rules-users] Problems using functions in .drl file

2008-01-11 Thread seeker
??? What about using JDK 5.0 ??? Keith Bennett wrote: .. Syntax error, static imports are only available if source level is 5.0 Has anyone else seen this? I am using Eclipse 3.2.2, Eclipse Drools IDE 4.0.3, and JDK 1.4. It appears as though I can't use the IDE unless I'm at JDK

Re: [rules-users] Problems using functions in .drl file

2008-01-08 Thread Michael Neale
I think you need java 5 for the ide even though the engine can run with 1.4 Sent from my iPhone On 08/01/2008, at 5:57, Keith Bennett [EMAIL PROTECTED] wrote: I am having problems using functions in my .drl file. When I add a function, I get the following two errors: ImportError:

Re: [rules-users] Problems using functions in .drl file

2008-01-08 Thread Keith Bennett
Thanks for the update. I still have a couple questions: Which back version of the Drools IDE can I use with Java 1.4 set as the compiler? Or possibly even better, is it safe to set the 'Compiler compliance level' setting to Java 5 while setting the 'Generated .class files compatibility' and

Re: [rules-users] Problems using functions in .drl file

2008-01-08 Thread Michael Neale
You can use the IDE with java 5 but set the compliance to 1.4 just like you thought I am pretty sure Sent from my iPhone On 09/01/2008, at 1:12, Keith Bennett [EMAIL PROTECTED] wrote: Thanks for the update. I still have a couple questions: Which back version of the Drools IDE can I use

[rules-users] Problems using functions in .drl file

2008-01-07 Thread Keith Bennett
I am having problems using functions in my .drl file. When I add a function, I get the following two errors: ImportError: PackageName.Function.function Syntax error, static imports are only available if source level is 5.0 Has anyone else seen this? I am using Eclipse 3.2.2, Eclipse Drools IDE