sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12154
Re: [Question #204177]: Sikuli-Script doesn't find the files in Netbeans
Question #204177 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204177
Status: Answered => Solved
Deses confirmed that the question is solved:
That's right, it was that.
With SikuliTest, the path I have to write is "src/deses/img/test.png",
otherwise it doesn't work.
Which is very strange, as I've made many many other projects using
resorces in a "res" folder, and putting "res/file.xml" it was enough, I
didn't had to write the whole path from the project folder.
For example, I've made a game with a friend for a school project and everything was:
ResourceManager.loadResources("res/resources.xml");
ResourceManager.loadResources("res/img/sword.png");
Not:
ResourceManager.loadResources("src/org/schoolproject/myFullName/res/resources.xml");
ResourceManager.loadResources("src/org/schoolproject/myFullName/res/img/sword.png");
Well, anyway, now it works, thanks for pointing that I had to start from
the project folder.
Thank you very much, RaiMan!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.