[rules-users] Dynamic rule creation

Davide Sottara dsotty at gmail.com
Thu Sep 13 04:38:40 EDT 2012


Oh .. you have a package! The imports are handled in a package-specific
way...
your TestDrl imports the classes in the package datanet.minhours, but the
new rule
you create on the fly is assigned to the default package... notice that the
resource derived
from the string is considered a new DRL altogether.
Try adding "package datanet.minhours " at the beginning of your rule string
Davide



--
View this message in context: http://drools.46999.n3.nabble.com/Dynamic-rule-creation-tp4019723p4019732.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list