Posted by
reyman on
Oct 24, 2011; 11:25am
URL: https://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3447800.html
Thanks for your great answer :)
I explain my point of view for custom loader.
We use maven to deploy project, and we don't want to add all the jogl
jar file for all platform on the maven pom project file.
So we develop a wrapper for jogl 1.x which block initial library
loading, and load only the good .so for the current architecture of user :
https://forge.iscpif.fr/projects/vizutils/repository/revisions/master/changes/jogl/src/main/java/fr/iscpif/jogl/JOGLWrapper.javaFor example, i want to use a project with jogl1, like jzx3d or other.
I create a maven pom.xml with the wrapper in dependency, and i add on
the init() method of this project my wrapper.init() method which block
and load the good library file.
So i a first draft, i try to make the same code for jogl2.x, but it's
not the same mecanism ... and as you see with my error i have some
problem to load the library ...
And your explanation is good, so i don't know is this idea of generic
wrapper is good in reality ... :-/
Do you have any experience with maven on this point ?
Best regards,
SR.