<div dir="ltr"><br> Any of the following:<br><br>* the file defined by your drools.packagebuilder.conf system property<br>* $HOME/drools.packagebuilder.conf<br>* $WORKDIR/drools.packagebuilder.conf<br>* META-INF/drools.packagebuilder.conf on the classloader relative path<br>
<br> You also have the META-INF/drools.default.packagebuilder.conf that you may change or you may also declare a system property or call the API.<br><br> Some of these options will not make the eclipse editor aware of your function, but all of them will work on runtime.<br>
<br> []s<br> Edson<br><br><br><div class="gmail_quote">2008/9/1 thomas kukofka <span dir="ltr"><<a href="mailto:thomaskukofka@web.de">thomaskukofka@web.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hallo Edson,<br><br>thanks for the quick answer. Where can I find the configuration file where I have to define the ne accumulate function:<br><pre>drools.accumulate.function.calculateCertainty = org.drools.base.accumulators.NewAccumulateFunction<br>
</pre><br>regards<br>Thomas<br><br><br> Or an accumulate function (as long as all you objects implement a commong<br>interface):<br><br>rule "overall certainty"<br>when<br> $cert : Number() from accumulate(<br>
$f : CertaintyFacts( ),<br> overallCertainty( $f ) )<br>then<br> // do something with $cert<br>end<br><br> Implement your own formula inside overallCertainty function .<br><br> []s<br> Edson<br>
</div>
</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>
</div>