[rules-users] Drools, Grails, and default packages for domain objects

Mark Proctor mproctor at codehaus.org
Mon Jan 19 17:13:50 EST 2009


Costello, Robert wrote:
>
> Has anyone else run into issues trying to reference objects in a 
> default package?  I'm trying to use Drools with Grails and my rule 
> which compiled nicely in a package setting has issues when faced with 
> a default package. 
>
>  
>
> The error is "foo" cannot be resolved to a type
>
>  
>
> I've tried putting the rule both in the default package and putting it 
> in a named package, and neither seem to work.   If I put my objects 
> back into packages, everything is fine.
>
>  
>
> Any  advice?
>
I'm not sure the Drools type resolver works with default namespace 
classes or rules.
>
>  
>
> Thanks,
>
>  
>
> Robert Costello
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090119/2a40b183/attachment.html 


More information about the rules-users mailing list