← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664383]: How to make a runnable file with javascript webdriver and sikuli with Image

 

Question #664383 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664383

    Status: Open => Answered

RaiMan proposed the following answer:
what is your development environment?

URL imageURL = sikuli.class.getResource("image" + File.separator + "Capture.PNG");
will work in jar also.

You either solve your problem using the tools from comment #1 or you make a fat jar using the jar utility.
The HowTo's can be found in the net. Nothing special with SikuliX.

BTW: it is not recommended to name Java stuff sikuli or sikulix to avoid
name clashes.

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