Posted by
Sven Gothel on
Oct 24, 2011; 11:02am
URL: https://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3447766.html
On Monday, October 24, 2011 12:37:23 PM reyman [via jogamp] wrote:
>
> Thanks, so i try the pre-RC4
>
> Another question, i want my application ready for different platform, so i
> use a custom loader like this :
>
https://github.com/Jotschi/jogl2-example>
I would like to discourage a custom loader.
With the new native JAR file loading, it works out of the box
for Standalone-Apps, WebStart and Applets(w/ or w/o JNLP).
See here:
http://jogamp.org/deployment/jogamp-next/jogl-test-applets.htmlThe 'NApplet' launch mode is probably what you want:
Applet just using Applet/Object or Embed tag, where native JARs are post-loaded by GlueGen/JOGL.
I have added this feature on the 23rd September
http://jausoft.com/blog/2011/09/23/jogamp-deployment-enhancements-automatic-loading-of-native-jars-appletapplication/also described in this forum post, which will soon be added to the doc/wiki:
http://forum.jogamp.org/setting-up-JOGL-in-Eclipse-on-Mac-OSX-Lion-Frustration-td3435692.html#a3436274If you have ideas how we can enhance it, I am all ears and your inspiration/code is very welcome.
+++
Looks like Joschi's work from 26th September overlaps a bit w/ ours:
http://www.jotschi.de/?p=660> Do you have an idea of the modification i change to use this with RC4 ?
> Loader is very different ?
Glancing over his blog entry, it looks like we are doing semantically the same,
hence you don't need Joschi's loader.
We also take good care of removing the temporary storage where the
native libraries (or other resources of the JARs) are being stored.
I see this is missing in Joshi's work (at least in the blog).
Another benefit of using our build-in mechanism is, that it is build-in
and complies with our BSD license.
So .. it just works our of the box.
~Sven