I think Mitch Christensen wrote:

> I was thinking that it would be nice to be able to dynamically
> redirect the rules base location at runtime.  This seems unavoidable
> if I'm going to support the notion of regression testing new logic
> as the rule set evolves.

The implementation of "batch" does two things, of course: it finds the
file to read, and then reads it. The "reading it" part is actually
just two lines:

        Jesp j = new Jesp(reader, engine);
        v = j.parse(false)

where "reader" is a java.io.Reader opened on the file . I think the
best thing for you to do would probably be to implement your own
"batch" replacement, as your "finding it" part could just prepend the
directory to the filename and then try opening a FileReader.


---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (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]
--------------------------------------------------------------------

Reply via email to