[rules-users] separating .drl declare type from actual .drl rule into each own file
wtang
wtang at kana.com
Thu Dec 19 13:16:44 EST 2013
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.
More information about the rules-users
mailing list