sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28207
[Bug 1360046] Re: [1.0.1] Java: Settings.BundlePath not work --- use the ImageLocator methods
** Summary changed:
- Settings.BundlePath not work
+ [1.0.1] Java: Settings.BundlePath not work --- use the ImageLocator methods
** 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.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1360046
Title:
[1.0.1] Java: Settings.BundlePath not work --- use the ImageLocator
methods
Status in Sikuli:
Fix Committed
Bug description:
Hi,
When i was used new Sikuli 1.0.1 Sikuli-Java.jar i find the Settings.BundlePath not work well, i write follow code to test:
System.out.print(ImageLocator.getBundlePath()+"\n");
Settings.BundlePath="E:/qa/automation/picpool/JAM/mainline/";
System.out.print(ImageLocator.getBundlePath()+"\n");
Then find the output is :
E:\qa\automation\mainline\jam
E:\qa\automation\mainline\jam
I am not sure it is a bug or i am wrong, but i sure it is work on last version.
But i find another way to work around:
System.out.print(ImageLocator.getBundlePath()+"\n");
ImageLocator.setBundlePath("E:/qa/automation/picpool/JAM/mainline/");
System.out.print(ImageLocator.getBundlePath()+"\n");
The output is :
E:\qa\automation\mainline\jam
E:/qa/automation/picpool/JAM/mainline/
Below is my environment information:
OS: windows 7 x64
Java: 1.7.0_06
I wait for your reply, thanks.
--BR
Xian
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1360046/+subscriptions
References