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-boun...@lists.jboss.org 
[mailto:rules-users-boun...@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 
<dso...@gmail.com<mailto:dso...@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@lists.jboss.org<mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to