<div class="gmail_extra">Hi,<br><br>This was a bug, but has been fixed for 5.4.0.Final.<br><br>The only workaround is to move the enumerations to their own class, rather than nest in another Class.<br><br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=724629">https://bugzilla.redhat.com/show_bug.cgi?id=724629</a><br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 23 April 2012 14:12, TonyN <span dir="ltr">&lt;<a href="mailto:tony.n.nguyen@boeing.com" target="_blank">tony.n.nguyen@boeing.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have nested classes in the domain model and I imported these nested<br>
classes in order to use them in the guided editor.  Things are ok except<br>
when one of the rule required a custom java function, then I would get an<br>
error at &#39;build&#39; package time (the error is &#39;not able to resolve<br>
TcItem$Dataset&#39;).   I think the compiler didn&#39;t like the &#39;$&#39; in the list of<br>
imported statements.  But if I don&#39;t import these nested classes, I won&#39;t be<br>
able to use them in the guided editor.<br>
<br>
I am new to Drools so I think there must be a way to be able to use nested<br>
class (w/ &#39;$&#39;) and custom java functions together.<br>
<br>
Please advise.<br>
<br>
I am using Guvnor 5.2 final.<br>
<br>
Thanks.<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Nested-class-BRL-and-Java-error-tp3932432p3932432.html" target="_blank">http://drools.46999.n3.nabble.com/Nested-class-BRL-and-Java-error-tp3932432p3932432.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</blockquote></div><br></div>