Firstly, "no" you are not missing anything :)<br><br>What you describe does not sound like inheritance: more of a fall through of assets from a top level package to lower sub-packages.<br>
<br>The Global Area would provide what you might be looking for - a place where assets can be shared with other packages.<br><br>We do provide for "true" rule inheritance already.<br><br>With kind regards,<br><br>
Mike<br><br><div class="gmail_quote">
On 1 December 2011 11:23, Joe Ammann <span dir="ltr"><<a href="mailto:joe@pyx.ch" target="_blank">joe@pyx.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
my users asked me to provide something like "package inheritance" in<br>
Guvnor. They would like to be able to define some artefact types (most<br>
notably DLSs, Working Sets, function definitions and extensible rules)<br>
in a "parent package", and then create "sub packages" where only the<br>
pure rule definitions live, but can use the artefacts from the "parent<br>
package".<br>
<br>
Now I realise that Guvnor/Drools packages are not really hierarchical.<br>
They may happen to have dots in their name and be displayed in a tree,<br>
but that's all.<br>
<br>
I can implement this by doing "inheritance by copying", since I provide<br>
the access to the Guvnor tree with my own Eclipse RCP application and<br>
only use the asset editors from Guvnor. But I was wondering if I'm<br>
missing some fundamental concept in Guvnor that would make this easy?<br>
<br>
I could also imagine this to be realized by extending the concept of<br>
working sets from fact types and fields to also include DSL, functions<br>
and rules. That would even be more flexible :-)<br>
<span><font color="#888888"><br>
--<br>
CU, Joe<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></span></blockquote></div><br>