JogAmp Fat Jar

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JogAmp Fat Jar

Sven Gothel
Administrator
Hi All,

I cannot find the specific forum post
where we discussed creating the fat jar and its use case,
however it has been implemented and produced.

See Bug 1145 <https://jogamp.org/bugzilla/show_bug.cgi?id=1145>.

Aggregated build
  <http://jogamp.org/deployment/archive/master/gluegen_876-joal_603-jogl_1414-jocl_1066/>
contains the produced fat jar files:

Single fat jar files:
  - jogamp-fat.jar: actual fat jar file of all modules
                    with all its native files included.
  - jogamp-fat-java-src.java: the corresponding java source code for your IDE
  - jogamp-fat-test.jar: the unit tests incl. junit (currently only for JOGL)
  - jogamp-fat-test-java-src.jar: the corresponding java source code for your IDE

  <http://jogamp.org/deployment/archive/master/gluegen_876-joal_603-jogl_1414-jocl_1066/fat/>

All in one 7z archive:
  <http://jogamp.org/deployment/archive/master/gluegen_876-joal_603-jogl_1414-jocl_1066/archive/jogamp-fat-all.7z>

You can launch jogamp-fat.jar via 'java -jar jogamp-fat.jar',
which currently launches an AWT app displaying JOGL's capabilities.

You can launch jogamp-fat-test.jar (with jogamp-fat.jar inside same folder)
via 'java -jar jogamp-fat-test.jar',
which currently launches a NEWT/JOGL GearsES2 app.

jogamp-fat-test.jar can be utilizes to run any singl tests,
or all of them - ofc.

The latter might be a useful use-case for the fat jar files
besides supporting novice users.

Cheers, Sven


signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JogAmp Fat Jar

gouessej
Administrator
Hi

I'll update my tutorials and the wiki when this change is reflected in the next JOGL version (2.3.2?). It will greatly simplify the use of several scenegraphs with numerous dependencies, especially for the developers who refuse to use Maven.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JogAmp Fat Jar

gouessej
Administrator
In reply to this post by Sven Gothel
jogamp-fat-all.7z is a good candidate for the big green button we talked about several months ago :D
Julien Gouesse | Personal blog | Website