On Dec 27, 2006, at 11:04 AM, rim wrote:

-using require?
require is not accepted (feature not known), I don't see the difference
between require and require*
and for instance adding (require* templates1.clp) to rules1.clp jessDE shows
a lot of errors
it seems that the slots are not recognized


"require" throws an exception if the feature you specify is not found. "require*" just ignores the problem. That's the only difference. Your "require" statements will only find files within the JessDE if the argument to "require" is a full path relative to an Eclipse source directory. If you don't know what that means, you're going to need a book about Eclipse.

-defining templates from java classes
Also I met more problems when defining templates from java classes
the rules are buggy, the slots are not recognized
(even after importing the package where java classes and after compiling the
java classes first)


Well, who knows what this means. If you have a specific question, and will show us the specific error messages you receive, we'll be glad to help; but there are a million and one things that could go wrong here. To make it simple: if Jess says a template doesn't have a slot by some given name, then you didn't successfully define such a slot. Just as in CLIPS, if you use a template by name without declaring it, then Jess assumes it's an ordered template with no named slots at all.

besides I succeed to run the pricing example

Well, yes, because that's correct code.

---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550                 http://www.jessrules.com

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to