<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Neale wrote:
<blockquote
 cite="mid:96ab3ced0911251618l3a754730r52fa042b30199621@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi Steve - right - so it was luck that it was working in the first place?

Do you have the DSL listed in the agent before the DRL? that much
*should* be required - as it needs to have the DSL loaded before it
can apply it to the subsequent dslrs.

If they are in the order which is required, and doesn't work - could
you create a JIRA for this (perhaps with a sample to try it with) as
it is clearly a bug, it can't rely on luck or names ;)
  </pre>
</blockquote>
Someone was on IRC the other day and found the source of this bug. We
keep the list of resources in a hashmap, which loses the order. Need to
change that to a LinkedHashMap. I believe they opened a JIRA for it,
don't recall it's number off the top of my head.<br>
<br>
Mark<br>
<br>
<blockquote
 cite="mid:96ab3ced0911251618l3a754730r52fa042b30199621@mail.gmail.com"
 type="cite">
  <pre wrap="">
On Wed, Nov 25, 2009 at 7:53 AM, Steve Ronderos <a class="moz-txt-link-rfc2396E" href="mailto:steve.ronderos@ni.com">&lt;steve.ronderos@ni.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello Rules Devs,

I'm experiencing an issue in Drools 5.0.1.FINAL using a KnowledgeAgent to
build my rules which are defined in a change-set.xml file. &nbsp;My rules
resources contain a dsl and a dslr. &nbsp;Everything was working perfectly until
today when I changed the names of the dsl and dslr files. &nbsp;All of the sudden
the Agent started throwing exceptions saying that the dsl patterns could not
be expanded. &nbsp;After a little research it appears that the reason this is
happening is that the Agent does not necessarily build the resources defined
in the change-sets provided to it in the order that the resources are
defined. &nbsp;For now I have stopped using the KnowledgeAgent. &nbsp;It turns out
that I'm not really using any of the KnowledgeAgent features and that a
KnowledgeBase will work fine for now. &nbsp;In the future I would like to use the
KnowedgeAgent. &nbsp;I googled around a little to try to find any other
information on this issue but found nothing. &nbsp;Is this a known issue? Should
I log a JIRA request?

Thanks,

Steve Ronderos
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
</body>
</html>