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

Description changed to:
----------------- tracked on GitHub
https://github.com/RaiMan/SikuliX1/issues/409
------------------------

I have a project where I use the Sikulix Java API (version 2.0.4) with JUnit 4.
I load dynamically the test jar to use from a GUI, thus all jars are not loaded 
at start but at run time in a separate URLClassLoader (same one for all tests).
I want to use the Imagepath.addJar() at each test jar loading to get the images 
for the current test, but only the first call to addJar() is taken into 
account, the next calls seems to be just ignored.

How may I load several jars containing image ressources in the ImagePath
? Or is it possible to wipe the currently loaded images jar to replace
it by a new one ?

Note : As I only need the current test's jar, a reset() of the ImagePath
before addJar() of the new current jar does the trick and refresh the
images list. It is thus not urgent anymore for me, but I think there is
something not normal with calling addJar() several times.

-- 
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

Reply via email to