<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 <br><br>Sent from my iPhone</div><div><br>On 09/01/2008, at 1:12, "Keith Bennett" <<a href="mailto:forthwind@gmail.com">forthwind@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div>Thanks for the update. I still have a couple questions:</div>
<div> </div>
<div>Which back version of the Drools IDE can I use with Java 1.4 set as the compiler? </div>
<div> </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 1.4
? That's something I've never done, but hopefully it would allow me to use the latest version of the IDE.</div>
<div> </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. However, I want to utilize the Drools engine and IDE to develop a rules component for them. I hope I can get this environment working.
<br><br> </div>
<div><span class="gmail_quote">On 1/8/08, <b class="gmail_sendername">Michael Neale</b> <<a href="mailto:michael.neale@gmail.com"><a href="mailto:michael.neale@gmail.com">michael.neale@gmail.com</a></a>> 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" <<a href="mailto:forthwind@gmail.com"><a href="mailto:forthwind@gmail.com">forthwind@gmail.com</a></a>> wrote:<br><br>> I am having problems using functions in my .drl file. When I add a<br>> function, I get the following two errors:
<br>><br>> ImportError: PackageName.Function.function<br>> Syntax error, static imports are only available if source level is 5.0<br>><br>> Has anyone else seen this? I am using Eclipse 3.2.2, Eclipse Drools
<br>> IDE 4.0.3, and JDK 1.4. It appears as though I can't use the IDE<br>> unless I'm at JDK 5.0???<br>><br>> One interesting thing is that if I modify my 'Compiler compliance<br>> level', 'Generated .class files compatibility', and 'Source
<br>> compatibility' settings to 1.4, the .drl compile errors go away.<br>> But as soon as I close Eclipse and reopen it, the errors show up<br>> again. I appreciate any help you can provide! Thanks.<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>_______________________________________________<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>