sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13770
[Question #211554]: sikuli does not use my guide.jar
New question #211554 on Sikuli:
https://answers.launchpad.net/sikuli/+question/211554
After contact with RaiMan (https://answers.launchpad.net/sikuli/+question/211340), I loaded the source code of sikulis guide-extension into my development environment, changed only one line of the code and successfully compiled it.
The line I changed was this:
http://bazaar.launchpad.net/~sikuli-dev/sikuli/guide/view/head:/extensions/guide/src/main/java/org/sikuli/guide/SikuliGuideCallout.java
In line 132 I changed "yellow" to "blue".
First I tried running sikuli with the original guide.jar:
import sys, os
myScriptPath = os.path.join(os.path.dirname(getBundlePath()), "..", "..", "TESTENV_SikuliLibs")
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
load(os.path.join(myScriptPath,"guide.jar"))
import guide
guide.text("115.png","success")
guide.show(4)
This worked well (Under the PNG i got a black "success" on yellow background")
After that, I copied my compiled guide.jar into the folder "TESTENV_SikuliLibs", overwrote the original guide.jar and restartet my sikuli IDE.
Result: Nothing changed; sikuli runs, but the text "success" still has a yellow background.
What's my mistake?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.