From 2cb8c65600a1c8cd1b3ea1386b5f1359390f1ccd Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 21 Apr 2010 18:16:24 +0200 Subject: Add deployment scripts .. --- make/scripts/all-deploy-webstarttest.sh | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 make/scripts/all-deploy-webstarttest.sh (limited to 'make/scripts/all-deploy-webstarttest.sh') diff --git a/make/scripts/all-deploy-webstarttest.sh b/make/scripts/all-deploy-webstarttest.sh new file mode 100755 index 000000000..0904ac233 --- /dev/null +++ b/make/scripts/all-deploy-webstarttest.sh @@ -0,0 +1,38 @@ +#! /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 scripts/all-deploy-webstarttest.sh file:////usr/local/projects/JOGL/webstart ../build-x86_64 ../../webstart + echo sh scripts/all-deploy-webstarttest.sh 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 +# sh scripts/deploy-jars-webstarttest_pack200.sh $wsdir +sh scripts/deploy-jnlp-webstarttest.sh $url $joglbuilddir $wsdir +sh scripts/deploy-jnlp-webstarttest-filter.sh $wsdir -- cgit v1.2.3