IntelliJ IDEA artifact.jar and ImagePath
Asked by
Jaroslav Novotny
Hello, I am having trouble locating pattern images bundled inside .jar in IntelliJ IDEA IDE.
My project is setup like this:
https:/
And the code is:
ImagePath.
for (ImagePath.
print(
}
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.
This is the .jar structure when I unzip it:
https:/
Thanks for any help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jaroslav Novotny
- Solved:
- Last query:
- Last reply:
To post a message you must log in.