Hmmm, to be honest, I don't know :/
I fear although you can add the evaluator in DRL (or DSL), e.g. "when
MyFact( aField myUberEvaluator[bField] )" it will fail to compile in
Guvnor, as we don't do anything explicit around custom evaluators (i.e.
look for a drools.packagebuilder.conf file etc). HOWEVER we don't do
anything explicitly to prevent their use either. So if the file is on a
classpath that is scanned by Drools Expert (that Guvnor uses to build the
binary package) it COULD work out of the box.
A great opportunity for some community feedback :)
With kind regards,
Mike
On 14 May 2012 16:22, Matteo Cusmai <cusmaimatteo(a)gmail.com> wrote:
Hi Micheal,
we are going to extend drools with spatio evaluators, so we need to use
them.
Are you sure that we cannot use custom evaluator by using DRL or DSL in
GUVNOR?
And if yes, do you foresee to add support for custom evaluator in GUVNOR?
Thanks a lot,
Matteo.
On Mon, May 14, 2012 at 5:02 PM, Michael Anstis <michael.anstis(a)gmail.com>wrote:
> Guvnor doesn't support use of custom Drools Evaluators at this time.
>
> However, if you mean to more simply use with Drools Expert then
this<http://planet.jboss.org/post/creating_pluggable_operators>might be of
assistance.
>
> With kind regards,
>
> Mike
>
> On 14 May 2012 15:50, Carolina Pellecchia
<carolina.pellecchia(a)gmail.com>wrote:
>
>> Hi all
>>
>> I am novice on GUVNOR/DROOLS, but I defined some Drools Evaluator
>> functions and to make the function available to the rules engine I inserted
>> drools.packagebuilder.conf into user home directory. Is there
>> different directory to do this?
>>
>>
>>
>> Thank you in advance,
>>
>> Carolina Pellecchia
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users