Can you rely on Jess ClassResearcher and whatever is used under Eclipse
to always produce the same result?

Granted (and I do assume) that you can: What is the benefit of using
some JDE library function as compared to the ClassResearcher? It can't
be a performance issue, because obtaining the template definition from
a Java class is highly unlikely to be required frequently.

Which classes, exaclty, are "your classes" which won't be loaded
under the JessDE?

Thanks
Wolfgang

On 10/25/07, Ernest Friedman-Hill <[EMAIL PROTECTED]> wrote:
>
> 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]
> --------------------------------------------------------------------
>
>

Reply via email to