sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57396
Re: [Question #698063]: ImagePath.getBundlePath() returns null
Question #698063 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698063
Status: Open => Answered
RaiMan proposed the following answer:
In Java programming the bundle path is null per default.
You might use ImagePath.setBundlePath(...) to set it before using any
other SikuliX features, which rely on bundle path.
ImagePath.add() adds a new path entry to the end of the image path list
(entry 1+), but does not touch the bundle path (entry 0).
When looking for image files, the image path is scanned from entry 0
upwards until first filename match (skipping null entries).
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.