sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17750
Re: [Question #227560]: Runnable JAR file
Question #227560 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/227560
Status: Needs information => Answered
Aravind proposed the following answer:
In the eclipse project you will have a particular folder structure.
If suppose you have something like this:
MyEclipsePjct
->src
->MySikuli.sikuli
and you might be running from the commandline this 'MySikuli.sikuli' jar
then, you can create a separate folder under this sikuli pjct, say
'Library.sikuli'
MyEclipsePjct
->src
->MySikuli.sikuli
->Library.sikuli ( where you could keep all your images)
->your_main_script
and add this piece of code in your script(based on the sample eclipse folder above)
myImagePath = "path_upto_your_eclipse_workspace\\MyEclipsePjct\\src\\MySikuli.sikuli\\Library.sikuli"
addImagePath(myImagePath)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.