← Back to team overview

sikuli-driver team mailing list archive

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

 

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

We're using Maven for dependency management.

Is it possible to configure where Sikuli looks for the native libraries...we run on MacOSX, Linux, and Windows.    We'd like to be able to version the native files along with the JAR files and put them in our Maven Repository.

If we don't include the Libs folder in the directory where sikulixapi.jar is located, we get this sort of error:

[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/bbonner/.m2/repository/org/sikuli/sikulixapi/1.1.0/libs
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/bbonner/.m2/repository/org/sikuli/sikulixapi/1.1.0/libs
[error] ResourceLoader: loadLib: Fatal Error 109: not found: /Users/bbonner/.m2/repository/org/sikuli/sikulixapi/1.1.0/libs/libMacUtil.dylib
[error] RunSetup: Problem with SikuliX libs folder - see error log
[error] Terminating SikuliX after a fatal error(109)! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.

I guess we can bundle all of the files together and just drop them in the project and manage them with SVN, I was hoping there was a way to simplify it.




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