&nbsp;&nbsp;&nbsp; Eric,<br><br>&nbsp;&nbsp;&nbsp; Not sure if I understood your problem, but if you have multiple classes with the same name, and the only difference is that they are inner classes of different classes, I guess what you need to do is to fully qualify your class names in your rules... 
<br><br>rule xxx<br>when<br>&nbsp;&nbsp;&nbsp; my.package.MyClass.MyInnerClass( ... )<br>...<br>end<br><br>&nbsp;&nbsp; If this is not your problem, can you please show us an example so we understand it better?<br><br>&nbsp;&nbsp; Edson<br><br><br><div><span class="gmail_quote">
2007/7/25, Eric Miles &lt;<a href="mailto:eric.miles@kronos.com">eric.miles@kronos.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  
  

<div text="#000000" bgcolor="#ffffff">
Due to how JAXB treats anonymous inner complex types, I ended up with a public static inner classes named AlternativeKey in several of my data classes&nbsp; I have several rules written to deal with each data class individually that all work ok.&nbsp; However, when I attempt to put them all in the same rule base (all belong to the same package), I get an import collision exception on the AlternativeKey inner class.&nbsp; Depending on where in the builder I add the resource depends on which AlternativeKey the compiler bitches about (validity).&nbsp; I&#39;m not familiar with the source at all, so I&#39;m unsure as to where to look for this.&nbsp; However, this sounds like a bug to me?&nbsp; There is an easy workaround for this as I I just don&#39;t use anonymous types and define them in my schema explicitly.&nbsp; Just thought I&#39;d identify this as a possible issue.
<br>
<br>
Thanks,<br>
Eric
</div>

<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>