<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">It would well be missed out. Could you write a unit test, so we can catch regressions and submit as a pull request please? When prove the problem with a test, open a jira and put the jira ID in the comment, as per the “getting involved” docs<div><br></div><div>Example unit tests for kie-spring:</div><div><a href="https://github.com/vinodkiran/droolsjbpm-integration/tree/kmodule-spring/kie-spring/src/test/java/org/kie/spring/tests">https://github.com/vinodkiran/droolsjbpm-integration/tree/kmodule-spring/kie-spring/src/test/java/org/kie/spring/tests</a></div><div><br></div><div>Gettig involved, how to do pull requests etc:</div><div><a href="https://docs.jboss.org/drools/release/6.1.0.Beta3/drools-docs/html/Welcome.html#gettingstarted">https://docs.jboss.org/drools/release/6.1.0.Beta3/drools-docs/html/Welcome.html#gettingstarted</a></div><div><br></div><div>Mark</div><div><br></div><div><br><div><div>On 9 May 2014, at 01:06, Ashish Nayyar &lt;<a href="mailto:ashishna@gmail.com">ashishna@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>I am trying to include a another kbase in KIE Spring project. This is the configuration</div><div><br></div><div><b>knowledge-services.xml</b></div><div><div>&nbsp;&lt;kie:kmodule id="kie-spring"&gt; <span class="" style="white-space:pre">        </span></div>
<div>&nbsp; &nbsp; &lt;kie:kbase name="kie-base" <b>includes="rules1Package"</b> packages="au.org.nps.dsaas.rules" &gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;kie:ksession name="ksession1" type="stateless" &nbsp;&gt;</div>
<div>&nbsp; &nbsp; &nbsp; <span class="" style="white-space:pre">        </span>&lt;kie:consoleLogger /&gt;</div><div>&nbsp; &nbsp; &nbsp; <span class="" style="white-space:pre">        </span>&lt;/kie:ksession&gt;</div><div>&nbsp; &nbsp; &lt;/kie:kbase&gt;</div><div>&nbsp; &nbsp;&nbsp;</div>
<div>&nbsp; &lt;/kie:kmodule&gt;</div><div>&lt;bean id="kiePostProcessor" class="org.kie.spring.KModuleBeanFactoryPostProcessor"/&gt;<br></div></div><div><br></div><div><b>kmodule.xml</b></div><div><div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div>
<div>&lt;kmodule xmlns="<a href="http://jboss.org/kie/6.0.0/kmodule">http://jboss.org/kie/6.0.0/kmodule</a>"&gt;</div><div>&nbsp; &nbsp; &lt;kbase <b>name="rules1Package"</b> packages="au.org.nps.dsaas.rules1" &gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;ksession name="ksession2" type="stateless" /&gt;</div><div>&nbsp; &nbsp; &lt;/kbase&gt;</div><div>&lt;/kmodule&gt;</div></div><div><br></div><div>My KIE modules are discovered and I can see following in the logs</div>
<div><div><br></div><div>09:59:36,642 DEBUG [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (ServerService Thread Pool -- 91) Found and used pom.properties META-INF/maven/au.org.nps.dsaas/rules-repository/pom.properties</div>
<div>09:59:36,645 DEBUG [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (ServerService Thread Pool -- 91) Discovered classpath module au.org.nps.dsaas:rules-repository:0.0.1-SNAPSHOT</div></div><div><br></div><div>
But Spring context fails to load and I get the following errors:</div><div><div><br></div><div>09:59:39,547 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (ServerService Thread Pool -- 91) Unable to build KieBase, could not find include: rules1Package</div>
</div><div><br></div><div>As per the official documentation (<a href="http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/ch.kie.spring.html">http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/ch.kie.spring.html</a>) , I can use the includes property of KBASE tag provided in Spring KIE. I am using kie spring 6.1.0 Beta</div>
<div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks</div><div>Ashish</div><div><br></div></div>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></div></body></html>