Hi Alberto
1) The XML parser is not validating, so that's not a real issue. If you
want, the actual changeset file header is:
<change-set
xmlns='http://drools.org/drools-5.0/change-set'
xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
xs:schemaLocation='http://drools.org/drools-5.0/change-set
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/...
... </>
2) just use a "file:" URL pointing to the directory, but the folder will
have to contain resources of the same type
3) when set to true, a new KnowledgeBase instance will be created to apply
the changes, rather than updating the existing one. If you keep the old KB,
any object in a session obtained from that KB will be subject to the new
rules. You can also see the documentation.
4) the rule is declared in package com.sample, what about
DroolsKnowledgeAgentTest? If that's not in the same package, you'll need to
import it before you can declare a global DKAT.Service
Let me know if you have additional questions
Best,
Davide
(with some hints from Esteban Aliverti)
--
View this message in context:
http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp378...
Sent from the Drools: User forum mailing list archive at
Nabble.com.