Any of the following:

* the file defined by your drools.packagebuilder.conf system property
* $HOME/drools.packagebuilder.conf
* $WORKDIR/drools.packagebuilder.conf
* META-INF/drools.packagebuilder.conf on the classloader relative path

    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.

    Some of these options will not make the eclipse editor aware of your
function, but all of them will work on runtime.

    []s
    Edson


2008/9/1 thomas kukofka <[EMAIL PROTECTED]>

> Hallo Edson,
>
> thanks for the quick answer. Where can I find  the configuration file where
> I have to define the ne accumulate function:
>
> drools.accumulate.function.calculateCertainty = 
> org.drools.base.accumulators.NewAccumulateFunction
>
>
> regards
> Thomas
>
>
>    Or an accumulate function (as long as all you objects implement a
> commong
> interface):
>
> rule "overall certainty"
> when
>    $cert : Number() from accumulate(
>              $f : CertaintyFacts(  ),
>              overallCertainty( $f ) )
> then
>    // do something with $cert
> end
>
>    Implement your own formula inside overallCertainty function .
>
>    []s
>    Edson
>



-- 
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to