Firstly, "no" you are not missing anything :)

What you describe does not sound like inheritance: more of a fall through of assets from a top level package to lower sub-packages.

The Global Area would provide what you might be looking for - a place where assets can be shared with other packages.

We do provide for "true" rule inheritance already.

With kind regards,

Mike

On 1 December 2011 11:23, Joe Ammann <joe@pyx.ch> wrote:
Hi

my users asked me to provide something like "package inheritance" in
Guvnor. They would like to be able to define some artefact types (most
notably DLSs, Working Sets, function definitions and extensible rules)
in a "parent package", and then create "sub packages" where only the
pure rule definitions live, but can use the artefacts from the "parent
package".

Now I realise that Guvnor/Drools packages are not really hierarchical.
They may happen to have dots in their name and be displayed in a tree,
but that's all.

I can implement this by doing "inheritance by copying", since I provide
the access to the Guvnor tree with my own Eclipse RCP application and
only use the asset editors from Guvnor. But I was wondering if I'm
missing some fundamental concept in Guvnor that would make this easy?

I could also imagine this to be realized by extending the concept of
working sets from fact types and fields to also include DSL, functions
and rules. That would even be more flexible :-)

--
CU, Joe

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users