Re: JESS: Problems with Jess and Eclipse

2005-10-07 Thread Alan Moore

Matt,

Whoops, sorry - I didn't see your attachment.

alan


[EMAIL PROTECTED] wrote:

In the screenshot, you show that you've defined two classpath
variables, one named source pointing to the source directory, and
one named jess pointing to jess.jar. This is no guarantee that
you've *used* those classpath variables for anything. This is like
defining a Windows environment variable named MY_JARS and expecting
them to automatically show up on the CLASSPATH: it won't happen, of
course, unless your CLASSPATH includes %MY_JARS% .

Anyway, what's really relevant is not these global preferences, but the
individual project properties. Right-click on your project and choose
Properties. Click Java Build Path. On the Source tab, you want to
have any source folders in your project. This would be a place you
could use your source variable, although this would actually be
somewhat unconventional. Eclipse should automatically put entries for
the actual source folders in your project, so your project may not be
set up properly as a Java project in the first place.



I think Matthew Hutchinson wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]


G'day everyone,

First of all I'd like to say I'm starting to get into the programming aspect
of my PhD and its really interesting to learn JESS; great product and great
support.
Having set up eclipse with the jess plugin, I was dissapointed to find
something was not working. I've set my windows classpath to match where my
code is, and even set the project class path (in eclipse) to the same
directory. For some reason it just keeps telling me that it can't find the
Address class... which is quite obviously there.

Perhaps I've just missed something obvious?

Thanks,
Matt






-
Ernest Friedman-Hill  
Advanced Software Research  Phone: (925) 294-2154

Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov


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]





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]




Re: JESS: Problem with definstance

2005-10-07 Thread David Firmin

Thanks again.

I've identified the problem. I had bean properties for all slots, but some
of the slot names started with capital letters which seemed to throw
definstance (I should have thought of this earlier).

I've resolved this by renaming the slots so that they're more in line with
the bean specs.

Thanks for all your help
Regards
David



   
 ejfried   
 Sent by:  
 owner-jess-users@  To 
 sandia.govjess-users@sandia.gov   
cc 
   
 05/10/2005 20:03  Subject 
   Re: JESS: Problem with definstance  
   
 Please respond to 
 [EMAIL PROTECTED] 
   .gov
   
   




I think David Firmin wrote:

 Hi,
 Thanks for this, although I'm still missing something I think.

 The Order class I'm trying to define as an instance does have accessors
and
 modifiers for all its properties, including the two defined on the
 superclass deftemplate that's already been created in the Rete.

To clarify, yes or no: does the template define any slots that
*don't* correspond to properties in the Order class?


-
Ernest Friedman-Hill
Advanced Software Research  Phone: (925) 294-2154
Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov


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]



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]