[rules-users] sharing functions across namespaces

Jeremy Ary jeremy.ary at gmail.com
Fri Jun 21 15:40:57 EDT 2013


Anyone know of an elegant solution to sharing functions across packages?

As an example, given a single DRL containing all of functions:

package com.rules

and two rules files who both use those functions, yet live in separate
namespaces:

package com.rules.setOne
package com.rules.setTwo

Can both namespaces utilize the functions without changing all of my
rules files to the namespace com.rules? If worth noting, only one of
the namespaces will be present in the kbase at a time.

Thanks,
Jeremy


More information about the rules-users mailing list