Unfortunately this feature is not supported, so the rules have to be
declared in the same package.
This is potentially part of a larger discussion: we don't have a
consistent way to ID-entify a rule.
I'll raise the question on the developer channels.
Davide
On 03/29/2013 10:26 AM, arul.prashanth(a)gmail.com wrote:
Thanks David.
The Rule extends works if the two drl packages are the same. Can you shed
some light on "fully qualified name rule name" ?
I have a package org.poc.test with Rule Rule_1X and org.poc.test.tx with
Rule Rule_11
package org.poc.test
rule "Rule Rule_1X"
when // do something
then //do something
end
package org.poc.test.tx
rule "Rule Rule_11" extends "org.poc.test.Rule_1X"
when // do something
then //do something
end
Doesn't seem to extend the base rule. Am I using teh fully qualified rule
name?
--
View this message in context:
http://drools.46999.n3.nabble.com/Issue-with-Rule-X1-extends-X2-tp4023114...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users