[rules-users] How to import functions from other package?

Zhao Yi zhaoyi0113 at gmail.com
Mon Jun 25 04:56:46 EDT 2012


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?

Thanks,
Zhao Yi

--
View this message in context: http://drools.46999.n3.nabble.com/How-to-import-functions-from-other-package-tp4018218.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list