Question #704427 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/704427
Status: Needs information => Open Henri Gomez gave more information on the question: I'm still battling from make images available from ressources dir. Help would be very welcomed. Project is using sikuli 2.0.5 (from Central), Java 17 and Maven 3.8.7 Images are stored in src/main/resources/images directory and bundled in jar I tried with add(URL), it didn't works neither URL url = getClass().getClassLoader().getResource("images"); logger.debug("URL is " + url); if (ImagePath.add(url)) { logger.info("Initialized images in jar support"); } else { logger.error("Cannot initialize images in jar support"); } No error reported at that time but later on when calling new Pattern("xxx.png"); Thanks for your help -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp