I am doing the following, but no rules ever fire. I suspect the maven repo location is not right -and that no rules are getting loaded - how do I set it?
I am using /root/.m2/repository It would be the programmatic equivalent of -Dorg.guvnor.m2repo.dir=/root/.m2/repository" Also, how do you list the rules that are in the base? I see there is a getRule(...), but no getRules. kieServices = KieServices.Factory.get(); releaseId = kieServices.newReleaseId("com.xyz.policy", "cep", "LATEST"); kieContainer = kieServices.newKieContainer(releaseId); kieBase = kieContainer.newKieBase(config); kieSession = kieBase.newKieSession(); kieSession.addEventListener((RuleRuntimeEventListener) this); kieScanner = kieServices.newKieScanner(kieContainer); kieScanner.start(10000L); -- View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-How-to-set-Maven-repo-used-by-KieScanner-tp4028804.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users