Posted by
Sven Gothel on
Oct 24, 2011; 11:49am
URL: https://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3447860.html
On Monday, October 24, 2011 01:26:19 PM reyman [via jogamp] wrote:
>
> 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.java>
> For 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 ... :-/
Well, first of all I recommend moving to our new JOGL version.
You won't have support for JOGL 1.* from us, sorry.
Using the native JAR mechanism or the (old) standalone .so mechanism
(which is still possible) doesn't require unused files, ie other platforms native jars or .so's.
In short .. ofc you can pick and deploy only the required files (java/platform),
either via our recommended *all* method or the atomic files (look in the atomic subfolder).
http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html> Do you have any experience with maven on this point ?
Thats currently our weak point.
A few have started this effort, but sadly nobody finished it .. lack of commitment :(
If you or anybod else would like to pick up this task and finally finishes it,
it would be greatly appreciated!
For maven .. we would like to use our jogamp.org server and our releases, if possible.
~Sven
>
> Best regards,
> SR.