JESS: code works from java but not clp file

2005-10-11 Thread Scott Moss
I have been building an agent based model in parallel directly from Jess (in Eclipse) and from Java. The method that causes the jess (but not Java) error is inherited from the MarketAgent superclass. Code that works in Java but not Jess is this: public class User extends MarketAgent {

Re: JESS: New to JESS

2005-10-11 Thread ejfried
In the first screenshot, I see an editor window named awtdraw.clp, but I don't see a file by this name in the navigator view; my guess, then, is that you've used the Eclipse File | Open... menu to try to open a file not in your workspace. This doesn't work. You can only edit .clp files that are

Re: JESS: New to JESS

2005-10-11 Thread nikita berdikov
So, please, tell me, how can i make this file part of the project? Thanks --- [EMAIL PROTECTED] wrote: In the first screenshot, I see an editor window named awtdraw.clp, but I don't see a file by this name in the navigator view; my guess, then, is that you've used the Eclipse File |

Re: JESS: code works from java but not clp file

2005-10-11 Thread Alan Moore
Also, in testing.clp, you can place the following code to help you debug the exception: ;; untested...ymmv (try (bind ?user-agent (new User harvey)) catch ;; ?ERROR will be the caught throwable (printout t ERROR = (?ERROR toString) crlf) (printout t cause = ((?ERROR getCause)

Re: JESS: Blackboard Framework

2005-10-11 Thread Alan Moore
Scott, Someone else is likely to have a more relevant answer but I thought I'd give my 2 cents worth - it's been a while (15 years?!) so I hope I can remember this correctly... During my graduate studies I worked with Dr. Len Myers and others at CalPoly SLO on a BB based system that used