Hi,

This was a bug, but has been fixed for 5.4.0.Final.

The only workaround is to move the enumerations to their own class, rather than nest in another Class.

https://bugzilla.redhat.com/show_bug.cgi?id=724629

With kind regards,

Mike

On 23 April 2012 14:12, TonyN <tony.n.nguyen@boeing.com> wrote:
Hi,

I have nested classes in the domain model and I imported these nested
classes in order to use them in the guided editor.  Things are ok except
when one of the rule required a custom java function, then I would get an
error at 'build' package time (the error is 'not able to resolve
TcItem$Dataset').   I think the compiler didn't like the '$' in the list of
imported statements.  But if I don't import these nested classes, I won't be
able to use them in the guided editor.

I am new to Drools so I think there must be a way to be able to use nested
class (w/ '$') and custom java functions together.

Please advise.

I am using Guvnor 5.2 final.

Thanks.

--
View this message in context: http://drools.46999.n3.nabble.com/Nested-class-BRL-and-Java-error-tp3932432p3932432.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users