New question #693497 on Sikuli: https://answers.launchpad.net/sikuli/+question/693497
Hello, I am having trouble locating pattern images bundled inside .jar in IntelliJ IDEA IDE. My project is setup like this: https://i.imgur.com/rTxqZec.png And the code is: ImagePath.add("Main/patterns/") for (ImagePath.PathEntry path : ImagePath.getPaths()) { print(String.format("ImagePath: %s", path) + "\n"); } Which works nicely when I run the project. I get: null /C:\(...)\patterns/ And everything works. But when I try to pack it inside .jar and I build an artifact and run it, I just get: null null Weirdly the ImagePath.add("Main/patterns/") returns true. But finding patterns does not work. This is the .jar structure when I unzip it: https://i.imgur.com/QY8CCDG.png Thanks for any help. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

