Re: [Sikuli-driver] [Question #690949]: Unable to access Images inside executable jar

2020-05-27 Thread Prathima Lydia
Question #690949 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690949

Status: Answered => Solved

Prathima Lydia confirmed that the question is solved:
The problem was a difference in resolution of the image  in the other
machine . This is resolved now

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #690949]: Unable to access Images inside executable jar

2020-05-25 Thread Prathima Lydia
New question #690949 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690949

I am using Eclipse IDE for development .

I am trying to make a executable jar and give it to others so that they can run 
it in their machine.

I have followed the below documentation to access the image files inside the 
jar 

( 
https://sikulix-2014.readthedocs.io/en/latest/scripting.html#image-search-path-where-sikulix-looks-for-image-files
 

String clazz = "testAPI.Test";
String imgFolder = "/imgs";
String img = "test.png";
 String inJarFolder = clazz + imgFolder;
ImagePath.add(inJarFolder)
)

With the above steps mentioned in the doc , the executable jar works fine and 
is able to access the image files  inside  the executable jar , when it is 
executed from my computer( the computer where the code was developed ) . 

when the same jar is executed in a different machine , it doesn't work. 

But the same code when run in eclipse IDE in a different machine works well and 
is able to identify images.

I want this jar to be working in other machines too . How can we resolve this ?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp