Please forgive if this a trivial issue...

I have a set of routines in a file called rules.clp and I currently
activate/execute (not sure the precise terminology)  these rules with the
Rete::executeCommand method (e.g.   rete.executeCommand( "(batch rules.clp)" ); ).

This mechanism is file system dependent (fine for applications, tedious for
servlets, hard for applets).  I have the same object servicing applications and
servlets (haven't tried using it as an applet yet) and keeping the rule sets
consistent is a bit tedious since they reside in different file systems.

Is it possible to package this rule set (and others) into a jar file with my
application and load them into the rule engine directly from the jar file.  I think
I can take the rule from a jar file and write it to a temporary file and then use
executeCommand() to load it, but I'm wondering if there is a better way.

BTW, I'm using Jess60a1

Sincerely,
Russell Ritenour



---------------------------------------------------------------------
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