Hi everybody,
I have a class "Entity" which is in a package "process", i.e. in the Package explorer (Project name)/src/process/Entity.java, and on my disk (Project path)\src\process\Entity.java. I tried to define in JessDE a template that refers to "Entity", i.e. (defclass Entity process.Entity). However, I got the following warning : "No such class 'process.Entity'".
Of course, a rule that uses the "Entity" template raises an error : "Bad slot value MAIN::Entity is an ordored template and can't have named slots at token '('". I mean this kind of rule :
(defrule entity-rule (Entity (id 1) (name "Entity name")) => (printout t "Entity 1" crlf) )
I am pretty sure that my implementation is correct, because when I did a defclass of "Entity" in Jess' console all was working well. I also set the "Source dependencies" but it didn't resolve the problem. I tried these values : (Project name)/src/process/Entity.java, (Project name)/src/process/, (Project path), (Project path)\src.I added jesssrc.jar in my project build path. I am using jess70a3 and Eclipse 3.0 SDK.
Best regards,
Nicolas
-------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
