Hi, I'm trying to load a Jess script in this way:
rete = new Rete();
rete.addUserpackage(new MiscFunctions());
rete.addUserpackage(new jess.ReflectFunctions());
rete.executeCommand("(batch D:/Cali/progv5/primero.clp)");
I'm sure about the location of my files. The script does only this:
(defclass element VisualElem)
(defrule here-i-am
(element (name "ball"))
=>
(printout t "I SEE THE BALL" crlf)
)
The problem is that I obtain the next error messagge:
Jess reported an error in routine Tokenizer.nextToken while executing
(batch D:/Cali/progv5/primero.clp).
Message: I/O Exception.
Program text: ( batch D:/Cali/progv5/primero.clp ) at line 0.
I read the manual and I know that I must enclose in double quotes the
paths that include a colon. Could somebody tell me how to do this in Java?
Because I've tried but every time that I want to include in a stringtry to
define a char or a string the double quote the compiler ask me for
the end of the string.
Or have somebody a sugestion about how to fix it? The point is that i dont
wan't to change the location of my script file.
Thank you in advance...
---------------------------------------------------------------------
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]
---------------------------------------------------------------------