I do have the package header but it is not compiling and complain that it can't resolve Person type. Here is the complete rule file:
package com.sample import com.sample.*; import java.util.* rule "Hello World" when Person(first == "Wing") then System.out.println("hello"); end -- View this message in context: http://drools.46999.n3.nabble.com/separating-drl-declare-type-from-actual-drl-rule-into-each-own-file-tp4027359p4027370.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users