Login  Register

Re: new g2dgl module

Posted by Brandon Borkholder on Feb 17, 2012; 6:20pm
URL: https://forum.jogamp.org/new-g2dgl-module-tp3747851p3754523.html

> I wrote a pom for Eclipse SWT for my company not too long ago.  SWT is
> similar to JOGL 2.x.  Since it has different jars for each platform, you
> want to be able to depend on a single pom and have the correct native
> library dependency pulled in.  I wrote a single pom that used profiles to
> determine which platform jar you needed.  Then each platform has a pom also.
>
> You can either depend on a specific platform pom, or just the generic SWT
> pom and it get the right jar for your platform.  I can show you an example
> if you're interested.
Yes please ..
I also read a bit about having an 'external' repository (eg. jogamp's server)
or the maven central. So I would like to offer both.
The bleeding edge from our server .. and the RC's (SNAPSHOT) and actual later
release on maven central. Advise ?

I think that's a good idea.  It gives you more control over the snapshots, but makes the releases easier to download for the public.

I attached two files.  One is the main SWT pom that refers to all the platform-specific poms.  The other is an example of a platform-specific pom.

swt-3.6.2.pom (5K) Download Attachment
swt-win32-win32-x86-3.6.2.pom (536 bytes) Download Attachment