← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242651]: can not find images.sikuli/1390382312030.png on the screen

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--1: generally you should NOT put sikuli-java.jar into your project folder.
like every other common library, sikuli-java.jar should be kept in one place (preferably the setup folder) and should only be referenced in your runtime environment.
something like that:
<pathelement location = "${my.Sikuli}"/>

having set this property somewhere at the beginning or generally in your
environment.

This makes it easier to switch to new Sikuli versions and avoids
spamming your system with copies of sikuli-java.jar and the at runtime
created libs folder.

--2:
as generally with Java apps: relative folder names like  lib/sikuli-java.jar or images.sikuli/1390382312030.png are resolved to the current folder the JVM is running in (working folder). In your case this is the folder, where you fire the ant execution.
So in your case I guess this is your project folder. so the folder images.sikuli must be here.

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