diff options
author | Sven Gothel <[email protected]> | 2009-10-06 00:04:24 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-06 00:04:24 -0700 |
commit | 20c6d89bfc4f72144b8bcc48839da7ef9bc40681 (patch) | |
tree | f5bd470cfd5a4a91a682b9628956fba0b29cf025 /make/deploy-jars-webstarttest_pack200.sh | |
parent | e8fbf3c0738c39005036c50e74dd20e4956f372f (diff) |
Work on test webstart deploy scripts ..
Diffstat (limited to 'make/deploy-jars-webstarttest_pack200.sh')
-rwxr-xr-x | make/deploy-jars-webstarttest_pack200.sh | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/make/deploy-jars-webstarttest_pack200.sh b/make/deploy-jars-webstarttest_pack200.sh new file mode 100755 index 000000000..fd9e215a9 --- /dev/null +++ b/make/deploy-jars-webstarttest_pack200.sh @@ -0,0 +1,43 @@ +#! /bin/sh + +wsdir=$1 +shift + +if [ -z "$wsdir" ] ; then + echo usage $0 webstartdir + exit 1 +fi + +if [ ! -e $wsdir ] ; then + echo $wsdir does not exist + exit 1 +fi + +THISDIR=`pwd` + +cd $wsdir + +mkdir -p DLLS +mv *linux*.jar DLLS/ +mv *windows*.jar DLLS/ +mv *macosx*.jar DLLS/ + +mkdir -p JAVAS +mv *.jar JAVAS + +cd JAVAS + +for i in *.jar ; do + echo pack200 -E9 $i.pack.gz $i + pack200 -E9 $i.pack.gz $i +done + +cd $wsdir + +mv JAVAS/* . +mv DLLS/* . + +rm -rf JAVAS DLLS + +cd $THISDIR + |