summaryrefslogtreecommitdiffstats
path: root/make/scripts/all-deploy-webstarttest.sh
blob: e3ee24a6d7c422d1b7d874dd501bbc2210844472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 $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
# 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