thanks for rjr201 and andRojs.
The problem is resolved.
Best wishes for you.
--
View this message in context:
http://drools.46999.n3.nabble.com/how-to-get-the-pkg-from-guvnor-by-KnowledgeAgent-tp4022417p4022504.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
Dear all, I want to deploy pkg from guvnor by KnowledgeAgent. The code like
below:
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent(
"MyAgent" );
kagent.applyChangeSet(
ResourceFactory.newUrlResource("http://localhost:8080/guvnor/org.drools.guvnor.Guvnor/package/test