If you have defined functions in a drl, in order to use those functions in
another drl of a different package, you will have to import each individual
function, like
package A;
function void func1 () {
System.out.println("Hello");
}
function void func2 () {
System.out.println("There");
}
pacakge B;
import function A.func1.func1;
import function A.func2.func2;
rule Test
when
then func1(); func2(); end
Is there any way to do something like import function A.*; in Drools 5.5.0
to use all the functions defined in another drl?
Thank you
--
View this message in context:
http://drools.46999.n3.nabble.com/Importing-functionS-from-another-drl-in...
Sent from the Drools: User forum mailing list archive at
Nabble.com.