Login  Register

Re: Problem with GLProfile and jogl2-rc2

Posted by Sven Gothel on Oct 24, 2011; 1:49pm
URL: https://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3448183.html

On Monday, October 24, 2011 02:56:46 PM Sven Gothel wrote:

> On Monday, October 24, 2011 02:40:06 PM reyman [via jogamp] wrote:
> Within gluegen's native jar loading mechanism and within our build/deployment
> we use the same naming convention for native JARs 'os_and_arch':
>
> http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#NativeJARFileNameConvention
>
> http://jogamp.org/git/?p=gluegen.git;a=blobdiff;f=src/java/com/jogamp/common/os/Platform.java;h=78daf4c3639a145bd9ec39c530e6b199478334c9;hp=a1e8bd5a873402220a152d24846a36d570dab047;hb=69d537e4f9e6e5d206719723094ea192ab51ef43;hpb=0711792f00e462e340e0d3731dfe71b0e8ec6022
>
> >
> > We create a pom.xml for our project with glugen-rt-all.jar and jogl-all.jar,
> > and it's rocks :)
>
> It would be best, if you can provide 'intelligent' pom files,
> utilizing the above mentioned 'os_and_arch' mechanism.
>
The ant property 'os.and.arch' is determined in target 'gluegen.cpptasks.detect.os' (import gluegen-cpptasks.xml):
  http://jogamp.org/git/?p=gluegen.git;a=blob;f=make/gluegen-cpptasks-base.xml;hb=HEAD#l482

dunno if you can use it this way from within a maven pom file

~Sven