← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #675423]: error when i try using Sikuli in Eclipse

 

Question #675423 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/675423

    Status: Open => Answered

RaiMan proposed the following answer:
Please try with version 1.1.4

For the actual information start here:
http://sikulix.com

I will do my own tests and revise the docs accordingly asap.

for now, the most important things:

- a pointer to sikulixapi.jar must be in the project's library
path/classpath

- at script start have these 2 lines:
from org.sikuli.script import SikulixForJython
from sikuli import *

that's all for runtime. The first line creates the <app-data>/Lib folder
and puts it on sys.path.

Just make a testrun with a hello-world-script: popup "hello"

After this first run, if successful, you can add a pointer to <app-
data>/Lib to your project setup, to get code completion/syntax check in
the editor.

Before you try again with new SikuliX stuff or if anything odd happens,
it is a good idea, to delete the  <app-data>/Lib folder, if it is
present.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.