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

Bug #821549 reported by Sebastien Pinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

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.

Tags: fkt-pattern
RaiMan (raimund-hocke)
summary: - X 1.0rc2: addPathImage cannot be used to read images from .jar file
+ [request]: want to reference/read images from inside .jar file -
+ together with load(file.jar)
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → Wishlist
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
assignee: nobody → RaiMan (raimund-hocke)
tags: added: fkt-pattern
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Wishlist → Medium
milestone: none → x1.1
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
importance: Medium → Critical
Revision history for this message
coup 4u (coup4u) wrote :

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/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.