File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes jess! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "jess!" Watch "jess!" New topic


assia assiatoune

Joined: Jul 11, 2004
Posts: 16
for starting , thanks,
for the first question I asked you , I have found yesterday at night(after posting you my question) the section of the manual about i\oRouters , so now, all is right.thank you.

for the second one I am going to try with it again this afternoon.

for more details:the problem I faced is having a"file.clp" how to suspend the inference engine in order for example(ot add a new rule or a new fact or a new function in the "file.clp"(which can act on the result of the inferencing); and how to activate it after!

NB: how to do it from java(Jbuilder)?
waiting for your answer!thanks a loooooot. luyza.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

The very specific answer depends on what you're doing exactly, but I already answered this in my last post. If you've called "run" in one thread, then to stop the engine, you need to call "halt" in another thread. Simple as that.

The simple command-line client jess.Main provides no way to do this from the command-line. Once you call run, you have to wait for it to stop on its own.

I've never touched JBuilder, so I can't give any JBuilder-specific answers.

[Jess in Action][AskingGoodQuestions]
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

you called?

-- Jess
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

We've been discussing you a lot in this forum.
I agree. Here's the link:
subject: jess!
It's not a secret anymore!