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

Hello, 

i have a problem with jar built.  It looks for  images only in one (first 
added) folder and ignores others folder in ImagePath.

I print out the ImagePath and all added folders are normally shown. But if 
finding in the first folder fails, the script stopps. 

I have already tried all variants but I still cannot find a solution. Please, 
help me. 

I add this way: 

 ImagePath.add("launcher.Launcher/images/general");
  ImagePath.add("launcher.Launcher/images/general/registration");
  ImagePath.add("launcher.Launcher/images/general/server");
ImagePath.add("launcher.Launcher/images/general/buttons");


[error] Image: could not be loaded: 
jar:file:/D:/workspaces/default/firmname/target/project-0.0.1-SNAPSHOT-jar-with-dependencies.jar!/images/general/registration/ok.png
[error] Image: Image not valid, but TextSearch is switched off!
FindFailed: Region: doFind: Image not loadable: ok
  Line 2535, in file Region.java

 The image "ok" is in the folder "buttons".

If i run this in eclipse, it works fine. 

How could I solve that? 

Tahnks in advance, 

Den 

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to