← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #210866]: Unable to find images when running scripts using Ant

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Since you are using relative path specification, the base path must be
different in both situations.

You might get the current working directory 
System.getProperty("user.dir")

Based on this you can create an absolute path for the addImagePath().

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