<br>   Why not having your functions as static methods in a java class itself? this way all you need to do is an import function in the DRLs that use it and you will not have any errors... also, it is best to maintain java code in java classes IMO. DRL functions are not intended for library development, but for quick code snippets local to your rules.<br>
<br>   my .02c<br><br>   []s<br>   Edson<br><br><div class="gmail_quote">2009/3/14 techy <span dir="ltr">&lt;<a href="mailto:techluver007@gmail.com">techluver007@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hello,<br>
I would like to have all drools utility function in one drl file(static drl<br>
like static util class) and would like to refer to them all there drl<br>
without getting eclipse compilation error.<br>
Is it possible?<br>
<br>
Thanks for the help.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/util-drl-function-tp22517646p22517646.html" target="_blank">http://www.nabble.com/util-drl-function-tp22517646p22517646.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>