<br> Your approach is correct... what error do you see?<br><br> []s<br> Edson<br><br><div><span class="gmail_quote">2008/2/13, ST <<a href="mailto:super_thunder2@hotmail.com">super_thunder2@hotmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br> <br> Is it possible to reference two or more classes with the same name but in<br> different packages in a DRL file? For example if I have a class named Order<br> but the class exists in two different packages. One is<br>
customer.invoicing.Order the other is client.service.productcatalog.Order.<br> <br> I tried something like the following but got an error when the DRL file is<br> parsed.<br> <br> rule "Customer Rule"<br> when<br>
o: customer.invoicing.Order()<br> then<br> System.out.println("customer invoice order exists.");<br> <br> <br> rule "Client Rule"<br> when<br> o: client.service.productcatalog.Order()<br> then<br> System.out.println("client order exists.");<br>
<br> Thanks,<br> ST<br> <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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>