[rules-dev] KnowledgeAgent not building change-set resources in order defined

Michael Neale michael.neale at gmail.com
Wed Nov 25 19:18:18 EST 2009


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 ;)

On Wed, Nov 25, 2009 at 7:53 AM, Steve Ronderos <steve.ronderos at ni.com> wrote:
>
> 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.  My rules
> resources contain a dsl and a dslr.  Everything was working perfectly until
> today when I changed the names of the dsl and dslr files.  All of the sudden
> the Agent started throwing exceptions saying that the dsl patterns could not
> be expanded.  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.  For now I have stopped using the KnowledgeAgent.  It turns out
> that I'm not really using any of the KnowledgeAgent features and that a
> KnowledgeBase will work fine for now.  In the future I would like to use the
> KnowedgeAgent.  I googled around a little to try to find any other
> information on this issue but found nothing.  Is this a known issue? Should
> I log a JIRA request?
>
> Thanks,
>
> Steve Ronderos
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>



-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com



More information about the rules-dev mailing list