I think Ye Tang wrote: > i am trying to load a property file into jess. > something like: java jess.Main -p properties.txt. but > it seems jess does not work that way.
Well, Jess doesn't use system properties for anything, so this is not surprising. > does anyone know how to do it? is there any special varible inside > jess to represent the argument? thanx I think by "the argument" you mean the command line arguments. Remember that Jess is really a programmer's library, and jess.Main is really just a small demonstration application. You can either write your own application class, or simply write you own class with a main() routine, and then invoke jess.Main.main() after you've processed your property file. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems 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] --------------------------------------------------------------------
