← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #248739]: Using Maven for dependency management. It seems to require libs directory in the same location as the sikuli jar

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
These 2 options will force the usage of the given folder:

- as a java option: -Dsikuli.Home=<path-to-the-folder-containing-the-
libs-folder>

- or at runtime:
export SIKULIX_HOME=<path-to-the-folder-containing-the-libs-folder>

With 1.1 you are using, you might additionally try the Java option
-Dsikuli.DoNotExport=YES, which should suppress any native export
activities (but this is not finally tested).

if this does not work, this is the fallback: if the folder contains the
correct marker file ( …MadeForSikuliX… ) at runtime and the timestamp is
equal or newer than that of the sikulixapi.jar, the libs will not be
exported from the jar.

I really thank you for this question, since I think, now I know, how I
have to prepare sikulixapi.jar, to be ready for Maven Central ;-)

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