On 25/06/2012, Zhao Yi <zhaoyi0113(a)gmail.com> wrote:
I have two drl files. They are in different packages. In one
drl(function.drl) file, I declare some functions and in the other
file(logic.drl), it needs to use these function. But when I build the drl
file, I always get the error when add logic.drl file. If I remove the
package in logic.drl, then it works fine. The functions will go into
default
package. How can I import the functions from other package name?
This is not possible.
Use a Java static method instead; this can be imported.
-W
Thanks,
Zhao Yi
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-import-functions-from-other-pack...
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