JESS: "not" and "neq". My error or Jess bug?

2004-05-20 Thread Douglas Pearson
I have a rule that includes both a "not" and a "neq" condition and it is causing the exception below when it's defined and I'm wondering if this is because of my error or something going wrong in Jess: Jess reported an error in routine ValueVector.get while executing (neq ?isThreat1 ?isFriend) whi

Re: JESS: "not" and "neq". My error or Jess bug?

2004-05-20 Thread ejfried
I think Douglas Pearson wrote: > > The rule that causes the problem starts: > (defrule redux-jess*propose*mission*proposalrule-12 >(wme (id state) (att sel) (value ?Friendly_1) ) >(not (wme (id ?Friendly_1) (att stance) (value "Standing") )) >(wme (id ?Friendly_1) (att isThreat) (value

Re: JESS: r.executeCommand quastion

2004-05-20 Thread ejfried
I think [EMAIL PROTECTED] wrote: > > and then i want to run everything.but i keep getting Nullpointer expection. > and i think becouse i am trying to r.executeCommand to Jess b4 running > Jess won't throw bare NullPointerExceptions; it may throw them wrapped in JessException if you try, f

JESS: problem: adding package name to a bean class

2004-05-20 Thread MAtt Farmer
Hey guys, Can anyone tell me how do I use beans in a different package with Jess. I mean I got a bean class working fine from within jess, now as soon as I add a package name to it, jess throws an exception...   Exception in thread "main" java.lang.NoClassDefFoundError: Classification (wrong name:

JESS: problem: adding package name to a bean class

2004-05-20 Thread MAtt Farmer
Hey Guys, I can't seem to use beans that have package names in them inside Jess. The bean classes work fine when I remove the package name but it gives me a NoClassDefFoundError when I put the package name back into the bean file.   Any help in this regard would be useful.   Thanks, ~Matt Do you

Re: JESS: problem: adding package name to a bean class

2004-05-20 Thread ejfried
I think MAtt Farmer wrote: > Hey Guys, > I can't seem to use beans that have package names in them inside Jess. The bean > classes work fine when I remove the package name but it gives me a > NoClassDefFoundError when I put the package name back into the bean file. > You have to use the packag

JESS: keeping jess in a different file?

2004-05-20 Thread MAtt Farmer
Thanks Ernest, for your prompt email..:)   I had another question. When using Jess in large java applications, is there a way to store all the rules and facts and stuff in a separate file, so that they can be changed at a later date, without affecting the rest of the system. I was thinking maybe w

RE: JESS: keeping jess in a different file?

2004-05-20 Thread Alan Moore
Title: RE: JESS: keeping jess in a different file? I use a main.jess (or main.clp if you prefer) in a well known location and my java code just tells jess to parse that file. In main.jess, I (batch "xyz.jess") all the other rules/files that might be needed. alan -Original Message