← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251689]: Java Sikuli program works within Netbeans but fails once built as a Jar

 

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

RaiMan proposed the following answer:
F:/NetBeansProjects/I90AutomationTool/dist/I90AutomationTool.jar!/system/model/i90/imgs/UN002.PNG

Is an URL pointing to a file inside a jar (does not matter wether mapped
or not).

This surely does not work with new Pattern() in 1.0.1 (here only files
in the file system outside jars are accepted).

You might try to use the above mentioned ImagePath feature.

If this does not work, then you have to move the image files to the
outside at runtime (temp folder) or wait for a useable version of 1.1.0

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.