Mark,<br><br>You know what, it was a Drools project.&nbsp; But, it was one created under the old 3.0.6 version.&nbsp; I wonder if this is a migration issue then?<br><br>Ron<br><br><div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">
Mark Proctor</b> &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Ron,<br>
<br>
Could you clarify - in Eclipse was this project created as a standard
Java project or a Drools project? When Drools creates a project it adds
in jdt-core from the plugin classpath, which doesn&#39;t happen in standard
java projects. I&#39;ve check this myself, and it seems to work fine.<br><span class="sg">
<br>
Mark</span><div><span class="e" id="q_113916c2f0f1d8c3_2"><br>
Mark Proctor wrote:
<blockquote type="cite">
  
hmm yes that could be a but with JBoss IDE. I&#39;m using the current
classloader, suspect i need to use another one.... We want to use the
JDT that is already in the Eclipse system.<br>
  <br>
Kris, do you know what classLoader I need to search for Eclipse?<br>
  <br>
Mark<br>
Ronald R. DiFrango wrote:
  <blockquote type="cite">Mark,<br>
    <br>
I hope you saw that my earlier problem had to do with the fact that the
JBoss Rules IDE did not include the jar file for theclass Java
compiler.&nbsp; Once I added it, it started to work.&nbsp; is this a bug in the
JBoss Rules IDE as I never had to do this before? <br>
    <br>
Now onto the other problem, does that mean I have to do something like
drools.getWorkingMemory().getQueryResults() then?<br>
    <br>
Thanks Again!<br>
    <br>
Ron<br>
    <br>
    <div><span class="gmail_quote">On 7/3/07, <b class="gmail_sendername">
Mark Proctor</b> &lt;<a href="mailto:mproctor@codehaus.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mproctor@codehaus.org</a>&gt;
wrote:</span>
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div bgcolor="#ffffff" text="#000000">We have slimmed down what
KnowledgeHelper does, so it only does
operations involving the current rules context (i.e. the Tuple of
matched data), as KH supplies access to the WorkingMemory you can
simply call getQueryResults on that.<span><br>
      <br>
Mark<br>
Ronald R. DiFrango wrote: </span>
      <blockquote type="cite">
        <div><span>OK, I got this
workinkg now, by adding the jar file <span style="font-weight: bold;">core-3.2.3.v_686_R32x.jar</span>
from the
distribution to my project.<br>
        <br>
Now though when I run it, I get the following error:<br>
        <br>
The method getQueryResults(String) is undefined for the type
KnowledgeHelper<br>
        <br>
has getQueryResults been removd in 4.x or renamed?<br>
        <br>
        <div><span class="gmail_quote">On 7/3/07, <b class="gmail_sendername">Ronald
R. DiFrango </b> &lt;<a href="mailto:ron.difrango@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ron.difrango@gmail.com</a>&gt;
wrote:</span>
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All,<br>
          <br>
I am in the process of migrating my 3.0. project to the 4.x series and
when I attempt to run my code I get the following exception when I
attempt to load my .drl files:<br>
          <br>
Caused by: org.drools.RuntimeDroolsException
: Unable to load dialect
&#39;org.drools.rule.builder.dialect.java.JavaDialect:java&#39;<br>
          <br>
Here is my package builder code:<br>
          <br>
static<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; try<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; builder = new PackageBuilder(); <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; builder.addPackageFromDrl( new InputStreamReader(
RtvDecisionEngine.class.getResourceAsStream(&quot;rtv.drl&quot; ) ) );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; builder.addPackageFromDrl( new InputStreamReader(
RtvDecisionEngine.class.getResourceAsStream
(&quot;modelDiscrepancyRules.drl&quot; ) ) );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ruleBase = RuleBaseFactory.newRuleBase();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ruleBase.addPackage( builder.getPackage() );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; catch(Exception e)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throw new RuntimeException(&quot;Failure loading the Rules&quot;, e);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; }<br>
          <br>
          <br>
Any thoughts appreciated.<br>
          <br>
Ron<br>
        </blockquote>
        </div>
        <br>
        </span></div>
        <pre><span>
<hr size="4" width="90%">
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
<br></a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </span></pre>
      </blockquote>
      <br>
      </div>
      <br>
_______________________________________________<br>
rules-users mailing list<br>
      <a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org</a><br>
      <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
      <br>
    </blockquote>
    </div>
    <br>
    <pre><hr size="4" width="90%">
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
  </blockquote>
  <br>
  <pre><hr size="4" width="90%">
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</span></div></div>

</blockquote></div><br>