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...
Sent from the Drools: User forum mailing list archive at
Nabble.com.