Thanks Gerret.
After sending the mail I also observed this behavior. The 'dot' approach has
the inheritance issue which u have rightly raised in your response mail.
Another way to achieve this, though its a workaround is
Steps to create knowledgeBase with combination of package & category:
1. Just click the mortgages package.
2. Select built in selector
3. Choose "When Category"
4. Under HomeMortgage select "Eligibility rules".
5. Build a package
6. Create snapshot with name "EligibilityRules"
7. Go to Package Snapshots
8. Click mortgages
9. Click "EligibilityRules"
10. Click mortgages.
Check the below URLs..
On Thu, Dec 16, 2010 at 1:45 AM, Gerret Hansper <gerret.public(a)gmx.de>wrote:
Hello,
if you have a package com.foo in Guvnor it is possible to create a new
package com.foo.bar.
Guvnor will then place the bar package beneath the foo package in the
KBaseTree.
But other than that the sub package doesn't have any relation to its
parent,
which I find unfortunate, too.
I was hoping to be able to "inherit" e.g. the parent's model or functions
in
the sub package.
My scenario is that we have a couple of KnowledgeBases that share a common
set of rules, each having further specific ones which I put into sub
packages.
Now, whenever there is a change in a library that my common rules depend
on,
I've got to update all of the packages' models which may amount to quite
some click-work in Guvnor.
Does anybody have a suggestion for an easier way to achieve this?
Regards,
Gerret
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Can-I-create-sub-pack...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users