diff options
author | Sven Gothel <[email protected]> | 2010-11-09 03:05:17 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-09 03:05:17 +0100 |
commit | b3e89bfa55389cae974c94afba6fb4ce118f75df (patch) | |
tree | 063f7d59cee39e3beeec7c17c74d10497d0fa8a5 /deployment/all-deploy-webstarttest.sh |
Provide deployment (jnlp) and hudson build aggregation scripts
Diffstat (limited to 'deployment/all-deploy-webstarttest.sh')
-rwxr-xr-x | deployment/all-deploy-webstarttest.sh | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/deployment/all-deploy-webstarttest.sh b/deployment/all-deploy-webstarttest.sh new file mode 100755 index 0000000..e947c3f --- /dev/null +++ b/deployment/all-deploy-webstarttest.sh @@ -0,0 +1,57 @@ +#! /bin/sh + +if [ ! -e scripts -o ! -e ../make ] ; then + echo start this script from JOGL/jogl/make + exit 1 +fi + +url=$1 +shift + +joglbuilddir=$1 +shift + +wsdir=$1 +shift + +if [ -z "$url" -o -z "$joglbuilddir" -o -z "$wsdir" ] ; then + echo Usage $0 codebase-url jogl-builddir webstartdir + echo Examples + echo sh $0 file:////usr/local/projects/JOGL/webstart ../build-x86_64 ../../webstart + echo sh $0 http://domain.org/jogl/webstart ../build-win32 ../../webstart + exit 1 +fi + +if [ ! -e $joglbuilddir ] ; then + echo $joglbuilddir does not exist + exit 1 +fi + +if [ ! -e $wsdir ] ; then + echo $wsdir does not exist + exit 1 +fi + +sh scripts/deploy-jars-webstarttest.sh $joglbuilddir $wsdir +# +# repack it .. so the signed jars can be pack200'ed +# sh scripts/deploy-jars-repack200.sh $wsdir +# +# sign it +# sh scripts/deploy-jars-sign.sh $wsdir KEY_STORE_FILE STORE_PASSWORD SOME_ARGUMENT +# +# pack200 +# sh scripts/deploy-jars-pack200.sh $wsdir +# +sh scripts/deploy-jnlp-webstarttest.sh $url $joglbuilddir $wsdir +# +# In case you don't sign it .. +# +# sh scripts/deploy-jnlp-webstarttest-filter.sh $wsdir +# +# Add to HOME/.java.policy +# +# grant codeBase "file:////usr/local/projects/JOGL/webstart/-" { +# permission java.security.AllPermission; +# }; + |