[rules-users] KnowledgeAgent Changeset problems

Herman Post Herman.Post at imail.org
Thu Mar 1 11:11:33 EST 2012


There is the use case where the changeset.xml is read from Guvnor - that is what we are trying to do, and we don't have the option to specify where the schema lives.   Perhaps schema validation should be false by default instead of true.


Herm

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: Wednesday, February 29, 2012 11:51 PM
To: Rules Users List
Subject: Re: [rules-users] KnowledgeAgent Changeset problems


On 1 March 2012 01:18, Davide Sottara <dsotty at gmail.com<mailto:dsotty at gmail.com>> wrote:

@Alberto:
the applyChangeSet method requires a ChangeSet resource. You should create a
changeset xml which contains the URLresource pointing to your directory.
This URLresource will contain the "file://..." URL and the resourcetype of
the items contained in the directory (e.g. DRLs)


As for issue #4, I tried to reproduce it. If the package is the same, it
should work... which version of drools are you using?
Davide

If the session isn't derived from a Knowledge Base defining the
global, then this RuntimeException: Unexpected global [service] is
to be expected.

-W

--
View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3789085.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120301/5059af55/attachment.html 


More information about the rules-users mailing list