<html><body bgcolor="#FFFFFF"><div>You can use the IDE with java 5 but set the compliance to 1.4 just like you thought I am pretty sure&nbsp;<br><br>Sent from my iPhone</div><div><br>On 09/01/2008, at 1:12, "Keith Bennett" &lt;<a href="mailto:forthwind@gmail.com">forthwind@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><div>Thanks for the update.&nbsp; I still have a couple questions:</div>
<div>&nbsp;</div>
<div>Which back version of the Drools IDE can I use with Java 1.4 set as the compiler?&nbsp; </div>
<div>&nbsp;</div>
<div>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 'Source compatibility' settings to&nbsp;1.4
?&nbsp; That's something I've never done, but hopefully it would allow me to use the latest version of the IDE.</div>
<div>&nbsp;</div>
<div>My client has WebSphere 5.x deployed and must stay on Java 1.4 for now, so I have to develop my code to be 1.4 compliant.&nbsp; However, I want to utilize the Drools engine and IDE to develop a rules component for them.&nbsp; I hope I can get this environment working.
<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/8/08, <b class="gmail_sendername">Michael Neale</b> &lt;<a href="mailto:michael.neale@gmail.com"><a href="mailto:michael.neale@gmail.com">michael.neale@gmail.com</a></a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I think you need java 5 for the ide even though the engine can run<br>with 1.4<br><br>Sent from my iPhone<br>
<br>On 08/01/2008, at 5:57, "Keith Bennett" &lt;<a href="mailto:forthwind@gmail.com"><a href="mailto:forthwind@gmail.com">forthwind@gmail.com</a></a>&gt; wrote:<br><br>&gt; I am having problems using functions in my .drl file.&nbsp;&nbsp;When I add a<br>&gt; function, I get the following two errors:
<br>&gt;<br>&gt; ImportError: PackageName.Function.function<br>&gt; Syntax error, static imports are only available if source level is 5.0<br>&gt;<br>&gt; Has anyone else seen this?&nbsp;&nbsp;I am using Eclipse 3.2.2, Eclipse Drools
<br>&gt; IDE 4.0.3, and JDK 1.4.&nbsp;&nbsp;It appears as though I can't use the IDE<br>&gt; unless I'm at JDK 5.0???<br>&gt;<br>&gt; One interesting thing is that if I modify my 'Compiler compliance<br>&gt; level', 'Generated .class files compatibility', and 'Source
<br>&gt; compatibility' settings to 1.4, the .drl compile errors go away.<br>&gt; But as soon as I close Eclipse and reopen it, the errors show up<br>&gt; again.&nbsp;&nbsp;I appreciate any help you can provide!&nbsp;&nbsp;Thanks.<br>&gt; _______________________________________________
<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org"><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users"><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</a><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org"><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></a><br></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rules-users mailing list</span><br><span><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span><br></div></blockquote></body></html>