<font size="2"><font face="verdana,sans-serif">I&#39;ve done exactly that using project references and keeping the imports on the rop of the rules. There are plenty of &#39;import&#39; examples in the docs.</font></font><div>
<font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">_ miguel</font></font></div><div><font size="2"><font face="verdana,sans-serif"><br></font></font><br>
<div class="gmail_quote">2010/4/2 Shailesh Hedaoo <span dir="ltr">&lt;<a href="mailto:shaileshhedaoo@hotmail.com">shaileshhedaoo@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
i have the JAR in classpath.  i also added the java domain project in the &quot;project references&quot;.<br>
but when i create a &quot;guided rule&quot;, in the when condition of &quot;guidedl rule&quot; - it gives me a &#39;choose fact model&#39; dropdown which is empty.<br>
i read somewhere that i need to specify all globals or imports. But i wanst able to figure that out exactly.<br>
looking forward to some more help :).<br>
<br> <br>
<hr>
Date: Fri, 2 Apr 2010 22:59:18 +0200<br>From: <a href="mailto:ansgar.konermann@googlemail.com" target="_blank">ansgar.konermann@googlemail.com</a><br>To: <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
Subject: Re: [rules-users] Importing Fact model in Eclipse<div><div></div><div class="h5"><br><br>On 02.04.2010 22:48, Shailesh Hedaoo wrote: 
<blockquote>

Hi<br>  I have created a Drools project and trying to create a guided rule in Eclipse 3.5 and Drools 5.0.x. <br>I have my own domain objects in another java project to be used by Drools project.<br>I want to use the java domain model as the &quot;fact model&quot; in my Drools project. <br>
How is that done ? Do i have to go thru the web based &quot;guvnor&quot; first ? <br>All I m planing to have is a simple java project which has java classes of my domain model of POJOs and in my Drools project i want to use them as &quot;fact model&quot;. How do i do it in eclipse IDE ?<br>
</blockquote><br>Should suffice to add the fact model jar to the classpath of the project containing your rules source code. That&#39;s how we did it when still working with Eclipse (now switched to IDEA).<br><br>If you don&#39;t want to compile the jar beforehand, on the rules project&#39;s root folder, right-click &quot;build path&quot; -&gt; &quot;configure build path&quot;, select &quot;Projects&quot; tab, click &quot;Add&quot;, check your fact model project and confirm everything.<br>
<br>Kind regards<br><br>Ansgar<br>                                               </div></div></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>&quot;To understand what is recursion you must first understand recursion&quot;<br>
</div>