← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #237544]: Maven -Sikuli Dependency Problem

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry for the not so informative error message, will be improved with
the next setup:

At the first run the libs folder is created and filled, if it does not exist:
[error] ResourceLoaderBasic: check: No valid libs path available until now!
[action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: C:/Documents and Settings/Administrator/.m2/repository/org/sikuli/sikuli-java/1.0.1/
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Documents and Settings\Administrator\.m2\repository\org\sikuli\sikuli-java\1.0.1\libs

Then we detect, that the libs folder is not yet on system path. We
create an adequate registry entry and ask you to logout/login, to make
this new setting available to the system.

[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[info] runcmd: reg QUERY HKCU
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[info] runcmd: reg ADD HKEY_CURRENT_USER\Environment /v PATH /t REG_EXPAND_SZ /f /d "C:\Documents and Settings\Administrator\.m2\repository\org\sikuli\sikuli-java\1.0.1\libs;C:\Documents and Settings\Administrator\My Documents\Rahul Pratap\SikuliStuff\libs;C:\Documents and Settings\Administrator\My Documents\Downloads\SikuliStuff\libs"
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Successfully added the libs folder to users PATH!
RESTART all processes/IDE's using Sikuli for new PATH to be used!/nFor usages from command line logout/login might be necessary!
...

this is a little bit cryptic ;-)
...
[error] ResourceLoaderBasic: checkLibsDir: Successfully added the libs folder to users PATH!
... of course: something successful cannot be an error, LOL ;-)

RESTART all processes/IDE's using Sikuli for new PATH to be used!
For usages from command line logout/login might be necessary!

To be sure, it works, I will ask people in the future, to reboot in this
case.

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