I’m developing a gradle based plugin to integrate JmonkeyEngine into IntelliJ. It is a java game engine.
When the game engine starts it loads resources from the resources folder such as models, fonts, etc. When I start the engine in a IntelliJ plugin the resources are not found.
Ive tried including the files as a “fat jar” and even putting the files in my plugin but they are never found. It seems any attempt to get files from a resources folder I never found, even though I can see them in the built /build/lib/plugin.jar.
Is there any reason the engine can’t find it’s own resources that it can normally find when run outside a plugin environment?
I am able to specify classpath locators and filelocators. Is there any classpath or path I can specify so the resources can be found?
I’ve spent 3 days reading through various posts and trying to figure this out. Any advice would be very much appreciated.