sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15854
Re: [Question #220554]: [HowTo] access Java classes when using one's own jars in Sikuli scripts
Question #220554 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220554
Status: Open => Answered
RaiMan proposed the following answer:
Yiiippppiiiieeee, found the trick:
set BASE=test.sikuli
set MYCP=%BASE%\wilson_lib\axis2-kernel-1.6.2.jar;%BASE%\wilson_lib\axiom-impl-1.2.13.jar;%BASE%\wilson_lib\other-axis2-or-so.jar
set MYCP=%MYCP%;D:\Program Files (x86)\auto\Sikuli X\sikuli-script.jar
java -cp "%MYCP%" org.sikuli.script.SikuliScript test.sikuli
all jars including sikuli-script.jar must be in the class path, no jar
is run, but the SikuliScript class instead.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.