sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15829
Re: [Question #220385]: Can't run Sikuli JUnit test on Mac
Question #220385 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220385
Status: Open => Answered
RaiMan proposed the following answer:
if you want to use Sikuli features in an Eclipse project, you should not
copy sikuli-script.jar to your project, but use a reference instead.
This absolutely makes sense, since you always need a valid Sikuli
installation, to run your Java project.
The easiest way is to use the Variable feature:
->Project Properties ->Java Build Path ->Libraries ->Add Variable
just select the respective variable if it already exists.
If not (e.g. first time with Sikuli):
-- click button Configure Variables
-- click the New button
-- enter a name (e.g. SikuliScript)
-- enter /Applications/Sikuli-IDE.app/Contents into the Path field and click button File (this gets you directly inside the app bundle)
-- select sikuli-script.jar down the structure and click Open
-- click OK to get back to the list of variables
-- select your new variable and click ok
finally click ok to get the jar-ref to your class path.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.