← Back to team overview

sikuli-driver team mailing list archive

[Bug 1360046] [NEW] Settings.BundlePath not work

 

Public bug reported:

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

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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:
  Settings.BundlePath not work

Status in Sikuli:
  New

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


Follow ups

References