View Full Version : How can I bundle a jar?including /res folder into thefinal jar using any bundler

08-05-2012, 07:33 AM
I want to export my eclipse opengl project and this is working so far. But using jarsplice to bundle all libraries, natives and the main method to one final *.jar doesn't work: the /res folder (including *.png's and a 3dmodel cant be included into that *.jar.

Does anyone know a solution that esults in ONE *.jar with included data?

Thanks very much...

08-06-2012, 07:45 AM
This is a java-specific question, nothing to do with OpenGL.
It depends on how you access your resources. Try loading resources trough the classloader, it should work both in jar- and expanded- modes.