Where is GL.java?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is GL.java?

spectual
Hi people.

I'd like to have a local copy of the jogl source for documentation purposes. I have made checkouts of all of the repositories, but eclipse cannot find GL.java.

It doesn't seem to be contained in any of the git repositories. I've searched google quite a bit and found hints that this GL.java might be a generated file?

How do I get GL.java available to eclipse?

Regards
Klaus
Reply | Threaded
Open this post in threaded view
|

Re: Where is GL.java?

Michael Bien
Hi Klaus,

GL, GL2, GL3... + the FooImpls etc are all generated at buildtime and therefore not in the repository.

I just noticed we forgot to provide source bundles in the automated builds. As workaround you can download the workspace directly from the build server:
http://jogamp.org/chuck/job/jogl/ws/

or you can build it yourself of course :)

hope that helps,
regards,
michael

On 10/09/2010 11:36 AM, spectual [via jogamp] wrote:
Hi people.

I'd like to have a local copy of the jogl source for documentation purposes. I have made checkouts of all of the repositories, but eclipse cannot find GL.java.

It doesn't seem to be contained in any of the git repositories. I've searched google quite a bit and found hints that this GL.java might be a generated file?

How do I get GL.java available to eclipse?

Regards
Klaus


View message @ http://jogamp.762907.n3.nabble.com/Where-is-GL-java-tp1669725p1669725.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.



-- 
- - - -
http://michael-bien.com
Reply | Threaded
Open this post in threaded view
|

Re: Where is GL.java?

spectual
Thanks. Might come in handy sometime.

While searching the repositories, I came across the javadoc files and attached them in eclipse and now eclipse names the arguments correctly

Btw, maybe I should file a bug report but just thought I'd mention it.

There seems to be a bug in GLWindow of newt on windows 7 64 bit. If I specify my client area to 800 x 600 and my window is decorated, the opengl view is partially hidden under the decoration (positioned at 0, 0 of the window and not the client area). If decoration is turned off, the opengl view is viewed correctly.

Here's my initialization code:

window = GLWindow.create(glCaps);
window.addGLEventListener(this);
window.addWindowListener(this);
window.setUndecorated(false);
window.setSize(800, 600);
window.setVisible(true);