Multiple ImagePaths for Jar
I have images in different folders, e.g.
folder1
--- 1.png
folder2
--- 2.png
This works for running from Eclipse:
ImagePath.
ImagePath.
SikuliX is able to detect the correct folder for each image.
However, when I switch to a jar run:
ImagePath.
ImagePath.
SikuliX only looks in the first folder I add:
[error] Image: could not be loaded: jar:file:
So the folder1 images can be loaded, but the folder2 images can't. The altPaths work fine when running from Eclipse though.
Could I please ask for your advice on this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: