Posted by
Sven Gothel on
Mar 01, 2012; 5:23pm
URL: https://forum.jogamp.org/How-to-deploy-JOGL-on-my-server-tp3790609p3791135.html
On 03/01/2012 03:42 PM, kitfox [via jogamp] wrote:
>
>
> I'm serving a webstart program that uses JOGL. At the moment, the JNLP is
> including:
> <extension name="jogl-all-awt"
>
> href="
http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"/>
>
> However, this is causing some issues.
Despite the fact that it's OK to host your own variants on your own server,
I would like to know about your issues - so we have a chance to fix things.
> I would like to be able to serve
> everything from my own server.
>
You can simply issue a wget of our release URL and clone it to your server.
Then you would simply need to change the URL in the jnlp [maybe html] files.
Lets see for the current test deployment (since its the current form of packaging).
<
http://jogamp.org/deployment/jogamp-test/>
Fetching the important data
using GNU Wget 1.13.4:
+++
JOGAMP_ROOT=
http://jogamp.org/deployment/jogamp-test/WGET="wget -r -N -np -L -l 1"
$WGET $JOGAMP_ROOT/
$WGET $JOGAMP_ROOT/jar/
$WGET $JOGAMP_ROOT/jnlp-files/
$WGET $JOGAMP_ROOT/log/
+++
This will lead ot the following local folder:
<jogamp.org/deployment/jogamp-test/>
Here is the script we use to relocate the JNLP/HTML files:
<
http://jogamp.org/git/?p=jogamp-scripting.git;a=blob;f=deployment/funcs_jnlp_relocate.sh;hb=HEAD>
> I've found the many jogl jars and native resources that JOGL has very
> confusing. What is the easiest way I could grab a given distro of JOGL,
> upload it to the same server that hosts my JNLP file, and then have my JNLP
> reference that? (And in such a way that Linux, Windows, Mac etc. find their
> appropriate binaries?)
Maybe you like to read the JNLP specs .. ?
<
http://en.wikipedia.org/wiki/Java_Web_Start>
(See External Links there as well, to check the original pages)
~Sven