diff options
author | Sven Gothel <[email protected]> | 2010-11-09 03:20:00 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-09 03:20:00 +0100 |
commit | 8957ecbb7a9fd8e9d70ec246cf557a0183e4d9ee (patch) | |
tree | 73d082d93468c092292cd5a402d8b98174756775 /make/scripts/deploy-jnlp-webstarttest.sh | |
parent | 312b3bd03f7601f9fb9c501aa2b35bd8e05df238 (diff) |
Relocated some deployment script to jogamp-scripting repo
Diffstat (limited to 'make/scripts/deploy-jnlp-webstarttest.sh')
-rwxr-xr-x | make/scripts/deploy-jnlp-webstarttest.sh | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/make/scripts/deploy-jnlp-webstarttest.sh b/make/scripts/deploy-jnlp-webstarttest.sh deleted file mode 100755 index 8f3b0d216..000000000 --- a/make/scripts/deploy-jnlp-webstarttest.sh +++ /dev/null @@ -1,79 +0,0 @@ -#! /bin/sh - -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 - -builddirbase=`basename $joglbuilddir` -joglroot=`dirname $joglbuilddir` -gluegenroot=$joglroot/../gluegen -demosroot=$joglroot/../jogl-demos - -jnlpdir_gluegen=$gluegenroot/jnlp-files -jnlpdir_jogl=$joglroot/jnlp-files -jnlpdir_demos=$demosroot/jnlp-files - -if [ ! -e $jnlpdir_gluegen ] ; then - echo $jnlpdir_gluegen does not exist - exit 1 -fi - -if [ ! -e $jnlpdir_jogl ] ; then - echo $jnlpdir_jogl does not exist - exit 1 -fi - -if [ ! -e $jnlpdir_demos ] ; then - echo $jnlpdir_demos does not exist - exit 1 -fi - -cp -v $jnlpdir_demos/*.html $wsdir - -uri_esc=`echo $url | sed 's/\//\\\\\//g'` -for j in $jnlpdir_gluegen/*.jnlp ; do - jb=`basename $j` - echo "processing $j to $wsdir/$jb" - sed "s/CODEBASE_TAG/$uri_esc/g" \ - $j > $wsdir/$jb -done - -for j in $jnlpdir_jogl/*.jnlp ; do - jb=`basename $j` - echo "processing $j to $wsdir/$jb" - sed -e "s/JOGL_CODEBASE_TAG/$uri_esc/g" \ - -e "s/GLUEGEN_CODEBASE_TAG/$uri_esc/g" \ - $j > $wsdir/$jb -done - -for j in $jnlpdir_demos/*.jnlp ; do - jb=`basename $j` - echo "processing $j to $wsdir/$jb" - sed -e "s/DEMO_CODEBASE_TAG/$uri_esc/g" \ - -e "s/JOGL_CODEBASE_TAG/$uri_esc/g" \ - $j > $wsdir/$jb -done - |