Jogl 2 Jar Bundles

After downloading the nightly builds, I noticed that (at least in the mac osx package) that there were many jogl jars to choose from that separated the different parts of jogl (gl profiles and utilities).

I would like to request that these separations continue when JOGL 2 is no longer in beta. Although, I’d argue for only distributing two jars: the core wrappers (including the required graphics config stuff), a util jar, and then a jar containing everything.

So many users stumble over using the utility classes, and I for one no longer touch them. It’s then extra class definitions that I don’t need in my jogl distribution.

Don’t worry … it will stay as is.
You can choose the partition you want and you can choose the *.all.jar variant too.

My main intention was to seperate stuff not needed on mobile for example (awt, gl2)
and to be highly efficient …

BTW … I just finished the 1st draft of the JNLP Applet deployment
http://blog.jausoft.com/2009/07/03/jogl-applets-part-1/
roughly tested on Linux, Win and MacOSX.

That’s good to know, I guess my main issue is that right now in the lib directory, I see jars with the following names:
jogl.all.jar, jogl.awt.jar, jogl.egl.jar, jogl.gl2.dbg.jar, jogl.gl2.osx.jar, jogl.gl2.win.jar
and then many more.

This level of granularity is fine, but it would be nice if the readme included a short description on the naming convention or what jars were required for the different profiles, utilities and windowing systems.

Thanks

The best doc is the source luke :slight_smile:
You are right, as I have announced on my blog … it’s coming …

Until then, feel free to read the jogl/etc/profile.jogl mechanism to select a profile.

Since we figured that it is very costly to have multiple JAR/JNLP files,
hence it might be performing better to have one big JAR file than many little JAR’s
which sum is smaller than the big JAR’s one … we will change a bit here.

E.g.

  • ALL (Desktop+ES) AWT
  • ALL (Desktop+ES) NEWT [+AWT]
  • ALL (ES1) NEWT
  • ALL (ES2) NEWT
  • ALL (ES1+ES2) NEWT

This is an ongoing process to find the right partitioning …
experience is welcome … and what people want.

Cheers, Sven