← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #700324]: Fail to locate the ImagePath in java

 

Question #700324 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700324

RaiMan proposed the following answer:
The usage of a class name in ImagePath apparently has some bugs in
2.0.5.

This only works when running in the IDE (you already found that):
ImagePath.add(Class.forName("JarMainClass").getResource("images").getPath());

When running outside using a jar, there is currently no workaround using
the ImagePath features.

Will be fixed in 2.0.6 (watch out for snapshots during the next time
until final is ready).

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