Interesting idea! I hadn't thought about ClassResearcher as a user
hook; It was introduced as a way to let Jess use reflection most of
the time, but use Eclipse's JDE libraries inside the JessDE so that
the JessDE doesn't actually load your classes. Therefore this must be
used cautiously because at some point it will break inside Eclipse
(although of course an Eclipse-specific version would also be possible.)
On Oct 25, 2007, at 12:01 PM, Wolfgang Laun wrote:
Deriving a deftemplate from a Java class with, e.g.,
(deftemplate Account (declare (from-class Account)))
invariably adds a slot "class", due to getClass() inherited from
java.lang.Object.
If you want to get rid of this, see the Jess userfunction I've
added to the
Jess Wiki: http://herzberg.ca.sandia.gov/jesswiki/view?
NoClassSlotUserFunction
Cheers,
Wolfgang
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences 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]
--------------------------------------------------------------------