Hi all, I noticed a bug in jess when passing files in parameter of the jess class as descrived below :
java jess.Console dir/file.clp (1) This bug does not occur when loading the file in the console with (batch dir/file.clp) ... as expected as the documentation of batch command says that the file is searched in the directories contained in the classpath. But in the (1) command, jess only look in the subdirectories below the jess/ directories. The problem comes from the initialize method in the Main class. I just had to use in the IOException block the following command : URL fichier = ClassLoader.getSystemClassLoader ().getResource(name); and test wheras the file was found or not (fichier == null). The bug still appeared valid in a recent release of jess... Hope this will help ... Erwan TRANVOUEZ ------------------- Vous aussi devenez le "Coup de coeur de Julie" et gagnez une Webcam sur http://www.chez.com ! Chez.com vous invite � d�couvrir l'univers passionnant des sites persos. -------------------------------------------------------------------- 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] --------------------------------------------------------------------
