JOGL/Saverbeans *JWS*

Hey,

I heard about the JOGL project via the Saverbeans screensavers project,
which now provides JOGL support for savers.

In the process of doing development for savers, I wanted to make
a Webstart based ‘preview’ that users can launch off the net. Here is
an example that works for most people.
http://www.javasaver.com/testjs/xsl/04/jws/install.html
(you are after ‘Picture Cube’ obviously)

It was while doing this that I noticed the irritating lack of ‘size/time’
information for the (large) JOGL based files, and it comes down to
the way the jar’s are referred to in the resources element…

..the JNLP files at JavaSaver ..the JNLP files at jog.dev

If the JNLP at the JOGL site included file sizes, Webstart would be
able to better inform the end user of download times, and it might
save irritation to the end user.

E.G. from…
http://groups.google.com/group/comp.lang.java.programmer/msg/1da8ea05a575a11a
"It then loaded over a meg of stuff from two different websites giving
me an irritating progress message that gave no indication of how long
this was going to go on. " :wink:

Is it possible to get the JNLP updated to specify the file sizes?

On the subject of adding the file sizes to the JOGL JNLP.

As an aside, …

I am currently developing a variety of Ant tasks for the Saverbeans
Screensaver project. One of them will produce Webstart JNLP files
with exactly that level of information.

So if it is a matter of ‘show an example or go away’, give me some time
and I’ll get back to you. But…

Would the person that builds the JOGL project, use it?

Thanks for the feedback. Could you please file a bug about this using the Issue Tracker on the JOGL home page? You’ll need to be an Observer of the project in order to do this. Thanks. We’ll try to add ant targets for this as soon as the JSR-231 JOGL branch is folded into the main tree.

Thanks Ken.

I had a bit of a look around (as to joining the JOGL project) the other night,
but got lost in the JDIC site. I’ll try again.

I suppose a ‘patch’ along with the request, would be considered more highly?
But… I do not quite understand from your words - it almost sounds like
a) you were about to do it anyway, or…
b) you are already aware of the solution as being trivially simple.

The reason I want to clarify is that I have not actually coded this yet,
and am open to (any) suggestions as to the best way to achieve it.
(flipping a switch in the current ‘Ant task’(?) is a lot simpler than me
writing Java to construct the JNLP file… )

Any thoughts, or is this new ground for everybody around here?

I think your suggestion is a good one and merits investigation. If you file a bug about it it will be easier for us to track.