← Back to team overview

sikuli-driver team mailing list archive

[Bug 821549] Re: [request]: want to reference/read images from inside .jar file - together with load(file.jar)

 

Indeed, it can seem cumbersome to extract images from a jar file just to reference them within scripts. This process may not be as efficient or user-friendly as it could be. Ideally, a system should allow scripts to directly access resources within the same jar. It's worth exploring if there are any configuration options or workarounds in your environment to simplify this process, as this would enhance the user experience and make the integration of scripts and resources more seamless.
https://coupo4u.com/store/crop-shop-boutique/

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/821549

Title:
  [request]: want to reference/read images from inside .jar file -
  together with load(file.jar)

Status in SikuliX:
  Fix Committed

Bug description:
  The problem is that we can import java/python scripts inside jar file using load(jar-file) (great feature btw).
  But if those scripts contain some references to images inside the same jar file, we are not able to get working scripts.
  We need to extract the images (e.g. to a shared repository) in order to be able to ref them using addPathImage.

  I think it is kind of silly to do so.

  Regards.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/821549/+subscriptions



References