Thanks David, but I am not at the code level yet. I am using latest version
6.0.
In the declares.drl I have:
package com.sample
declare Person
first : String;
last : String;
address: Address
end
in the userDeclare.drl I have a rule using Person in the when clause but it
does not compile on the drools Ecliple plugin saying it can no resolve the
person object.
import com.sample.*
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...
Sent from the Drools: User forum mailing list archive at
Nabble.com.