Oh right, I should have read more carefully :)
Drools is package-oriented, so in technical DRL you should do:
------------------------------
package datamodel;
declare MyEvent
end
------------------------------
package p1;
import datamodel.MyEvent
rule r1 when MyEvent() then .. end
------------------------------
package p1;
import datamodel.MyEvent
rule r2 when MyEvent() then .. end
Someone from the guvnor team might clarify whether imports need to be
implicit or explicit :)
Best
Davide
p.s. if no package is specified, Drools assumes "defaultpkg" as package
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-sharing-declarative-model-betwe...
Sent from the Drools: User forum mailing list archive at
Nabble.com.