Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

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

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2012
    Posts
    4

    Question How can I bundle a jar?including /res folder into thefinal jar using any bundler

    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...

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,580
    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.
    Last edited by ZbuffeR; 08-06-2012 at 07:18 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •