[rules-users] Drools 6.0.0.Final - importing rules from multiple maven projects

Mark Proctor mproctor at codehaus.org
Thu Dec 26 09:24:42 EST 2013


look at the “includes” example. You can include the resources from any KieBase, that has an ID. IF those are in another Maven module, as it as a dependency.
http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/KIEChapter.html#KIEExamplesSection

Mark
On 26 Dec 2013, at 14:10, Soumya.plavaga <soumya.bose at plavaga.in> wrote:

> We want to keep separate the client specific rules & common set of rules. We
> have created two different maven projects. one project having the common
> drls say 'A'. Another project having the client specific drls say 'B'. 'B'
> having dependency on 'A'. We want to load the rules in run time. We have
> tried the below approach -
> 
> Tried to retrieve the kieSession using release id of project 'B' and fired
> all rules in that kieSession. But only the rules of project 'B' is getting
> executed but the rules within project 'A' are not getting loaded. 
> 
> What can be the possible approach to import rules from multiple projects.
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/Drools-6-0-0-Final-importing-rules-from-multiple-maven-projects-tp4027425.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list