Subject: how to set scriptPath


another interesting discovery concerning importing several scripts:
all statements ENGINE and SCRIPT should *preceed* any CALL command, type
declarations, normal rules, etc, like this:

// file: script/uima/ruta/eng/aaa.ruta
PACKAGE uima.ruta.eng;

// all imports
ENGINE uima.ruta.eng.common.dateEngine;
SCRIPT uima.ruta.eng.common.date;
ENGINE uima.ruta.eng.common.xxxEngine;
SCRIPT uima.ruta.eng.common.xxx;

// and now run annotation
CALL(date);
CALL(xxx);

as opposed to the incorrect:

// file: script/uima/ruta/eng/aaa.ruta
PACKAGE uima.ruta.eng;

ENGINE uima.ruta.eng.common.dateEngine;
SCRIPT uima.ruta.eng.common.date;
CALL(date);

ENGINE uima.ruta.eng.common.xxxEngine; // <-- an error is reported here
SCRIPT uima.ruta.eng.common.xxx;
CALL(xxx);

Sorry for spamming.

BR, Nikolai

On Thu, Apr 18, 2019 at 12:40 PM Nikolai Krot <[EMAIL PROTECTED]> wrote: