Public bug reported:
This is successful
ImagePath.add("com.jaditd.wood.Wood/images");
This is also successful
Pattern gather = new Pattern("/images/gatherWood.png");
This fails, though, I think since the Image path modification was successful,
it shouldn't
Pattern gather = new Pattern("gatherWood.png");
How do I check the reason for the failure? The image is stored at
src/main/resources/images and I have checked that in the jar file
images/gatherWood.png exists.
** Affects: sikuli
Importance: Critical
Assignee: RaiMan (raimund-hocke)
Status: Fix Committed
** Summary changed:
- [1.1.2] images not loaded from jar using class-based imagepath
+ [1.1.2] images not loaded from jar using class-based imagepath --- fixed
1.1.2 2018-03-03 build#117
** Changed in: sikuli
Status: New => Fix Committed
** Changed in: sikuli
Importance: Undecided => Critical
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.2
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1753132
Title:
[1.1.2] images not loaded from jar using class-based imagepath ---
fixed 1.1.2 2018-03-03 build#117
Status in Sikuli:
Fix Committed
Bug description:
This is successful
ImagePath.add("com.jaditd.wood.Wood/images");
This is also successful
Pattern gather = new Pattern("/images/gatherWood.png");
This fails, though, I think since the Image path modification was successful,
it shouldn't
Pattern gather = new Pattern("gatherWood.png");
How do I check the reason for the failure? The image is stored at
src/main/resources/images and I have checked that in the jar file
images/gatherWood.png exists.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1753132/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp