{"id":53,"date":"2009-07-01T05:29:53","date_gmt":"2009-07-01T12:29:53","guid":{"rendered":"http:\/\/blog.jausoft.com\/?p=53"},"modified":"2019-05-14T04:56:03","modified_gmt":"2019-05-14T08:56:03","slug":"jogl-test-autobuilds","status":"publish","type":"post","link":"https:\/\/jausoft.com\/blog\/2009\/07\/01\/jogl-test-autobuilds\/","title":{"rendered":"JOGL: Test Autobuilds"},"content":{"rendered":"<p>Here I like to summarize how to manually test the JOGL autobuilds, starting with 2009-07-02.<\/p>\n<p>The general nightly download sites are<\/p>\n<ul>\n<li><a class=\"linkification-ext\" title=\"Linkification: http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/\" href=\"http:\/\/download.java.net\/media\/jogl\/builds\/nightly\">http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/<\/a><\/li>\n<\/ul>\n<p>Let&#8217;s assume we are in the test directory &#8216;test&#8217;, from which we operate from this point.<!--more--><\/p>\n<ul>\n<li>Get <a class=\"linkification-ext\" title=\"Linkification: http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/jogl-demos.zip\" href=\"http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/jogl-demos.zip\">http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/jogl-demos.zip<\/a><br \/>\n<em>Extract the archive, i.e. unzip jogl-demos.zip<\/em><\/li>\n<li>Get <a href=\"http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/\">http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/jogl-2.0-pre-20090702-linux-amd64.zip<\/a><br \/>\n<em>In case we have build a reference implementation (RI) the substring &#8216;pre-yyyymmdd-&#8216; will be dropped.<\/em><br \/>\n<em>Replace the version 2.0 with the latest available and the OS\/arch linux-amd64 with your test platform<\/em>.<br \/>\n<em>Extract the archive, ie unzip jogl-2.0-pre-20090702-linux-amd64.zip<br \/>\nCreate a symbolic link or rename the archive directory from <\/em><em>jogl-2.0-pre-20090702-linux-amd64 to jogl.<\/em><\/li>\n<li>If you like to test the binding to NV&#8217;s Cg, download and install <a href=\"http:\/\/developer.nvidia.com\/object\/cg_download.html\">http:\/\/developer.nvidia.com\/object\/cg_download.html<\/a><\/li>\n<\/ul>\n<p>We assume java is in your binary search path.<\/p>\n<p>On X11\/Unix and MaxOSX you can test the build as follows:<br \/>\n<code><br \/>\nsh java-run-newt.sh demos.es2.RedSquare -GL2 -GL2 -GL2<br \/>\nsh java-run.sh demos.gears.Gears<br \/>\n<\/code><br \/>\nand with debug output<br \/>\n<code><br \/>\nsh java-dbg-newt.sh demos.es2.RedSquare -GL2 -GL2 -GL2<br \/>\nsh java-dbg.sh demos.gears.Gears<br \/>\n<\/code><\/p>\n<p>On Windows you shall be able to run:<br \/>\n<code><br \/>\njava-win32.bat demos.es2.RedSquare -GL2 -GL2 -GL2<br \/>\njava-win32.bat demos.gears.Gears<br \/>\n<\/code><br \/>\nand with debug output<br \/>\n<code><br \/>\njava-win32-dbg.bat demos.es2.RedSquare -GL2 -GL2 -GL2<br \/>\njava-win32-dbg.bat demos.gears.Gears<\/code><\/p>\n<p>The windows scripts are pretty simple and flat.<\/p>\n<p>The <em>magic<\/em> unix scripts offer more features and can be used either in the autobuild environment or in your development one.<\/p>\n<ul>\n<li> <em>setenv-jogl.sh<\/em> &lt;JOGL-PROFILE&gt; [&lt;jogl-build-dir&gt;]<br \/>\nLooks up and invokes profile.jogl, finds gluegen, sets the environment variables (CLASSPATH, LD_LIBRARY_PATH &amp; PATH).<\/li>\n<li>jogl\/etc\/profile.jogl &lt;JOGL-PROFILE&gt; [&lt;jogl-build-dir&gt;]<br \/>\nJOGL profiles are one of JOGL_ALL, JOGL_ES1_MIN, JOGL_ES1_MAX, JOGL_ES2_MIN, JOGL_ES2_MAX, JOGL_GL2ES12_MIN, JOGL_GL2ES12_MAX, JOGL_GL2_MIN, JOGL_GL2_MAX.<br \/>\nLooks up the set of JAR files necessary to satisfy the chosen JOGL-PROFILE.<\/li>\n<\/ul>\n<p>This allows you to test a specific environment, ie ES2 without GL2 and AWT, using JOGL_ES2_MIN.<br \/>\nFor this case I would recommend the native ES2 implementation from imageon SDK_OGLES2_LINUX_PCEMULATION_2.02.22.0756.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here I like to summarize how to manually test the JOGL autobuilds, starting with 2009-07-02. The general nightly download sites are http:\/\/download.java.net\/media\/jogl\/builds\/nightly\/ Let&#8217;s assume we are in the test directory &#8216;test&#8217;, from which we operate from this point.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7,3,8],"tags":[9,16,44,17],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-3d-opengl","category-computer-stuff","category-jogamp","tag-3d","tag-java","tag-jogamp","tag-opengl"],"_links":{"self":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":1,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}