← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268201]: Unable to enable OCR and maven (java)

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Confirmed: The jar you pack in a Maven project does not include the
Tessdata stuff. It must be made available with a setup with option 3 on
the system you want to run your artefact.

You have 2 options:

--1: instead of using the Maven downloaded sikulixapi.jar, place a
sikulixapi.jar created by setup (option 2 and 3) into your local Maven
repo and adapt your pom, that this one is included.

--2: on a system run setup with option 3. this should create the folder
SikulixTesseract in the SikuliX user environment (see
http://www.sikulix.com/quickstart.html#qs3). Add some command script to
your Jenkins environment, that installs this folder accordingly on the
target system.

about offline setup follow the instructions on the nightly page.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.