I have following code in the my plug-in project
Class.getResourceAsStream("/file.png");
And my file is placed in the src/main/resources.
When I run my plug-in application from the eclipse run configuration dialog everything is fine. But, when I install mentonied plug-in on the standalone instance of the eclipse, have null pointer exception.
I have add my resources folder to the jar in following way.
source.. = src/main/java/
output.. = bin/
bin.includes = META-INF/,\
.,\
target/dependency/jfxrt-8.0.jar,\
src/main/resources/
target/dependency/jfxrt-8.0.jar
But, meanwhile problem is present.
Where I'm wrong and how to solve my problem?
Regards, Vladimir