summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-rwxr-xr-xdeployment/deploy-jars-webstarttest.sh12
-rwxr-xr-xdeployment/funcs_jars_pack_sign.sh22
2 files changed, 18 insertions, 16 deletions
diff --git a/deployment/deploy-jars-webstarttest.sh b/deployment/deploy-jars-webstarttest.sh
index 8a98f5d..4c3a841 100755
--- a/deployment/deploy-jars-webstarttest.sh
+++ b/deployment/deploy-jars-webstarttest.sh
@@ -11,13 +11,13 @@ if [ -z "$joglbuilddir" -o -z "$wsdir" ] ; then
exit 1
fi
-if [ ! -e $joglbuilddir ] ; then
- echo $joglbuilddir does not exist
+if [ ! -e $joglbuilddir/jar ] ; then
+ echo $joglbuilddir/jar does not exist
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
@@ -45,6 +45,6 @@ if [ ! -e $jnlpdir_demos ] ; then
exit 1
fi
-cp -v $joglbuilddir/jar/*.jar $wsdir
-cp -v $demosroot/$builddirbase/*.jar $wsdir
+cp -v $joglbuilddir/jar/*.jar $wsdir/jar/
+cp -v $demosroot/$builddirbase/*.jar $wsdir/jogl-demos/
diff --git a/deployment/funcs_jars_pack_sign.sh b/deployment/funcs_jars_pack_sign.sh
index 364c3d8..8817575 100755
--- a/deployment/funcs_jars_pack_sign.sh
+++ b/deployment/funcs_jars_pack_sign.sh
@@ -16,14 +16,17 @@ if [ -z "$wsdir" ] ; then
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
local THISDIR=`pwd`
-cd $wsdir
+cd $wsdir/jar
+
+mkdir orig
+cp -a *jar orig/
if [ -z "$JOGAMP_DEPLOYMENT_NO_REPACK" ] ; then
for i in *.jar ; do
@@ -46,14 +49,14 @@ if [ -z "$wsdir" ] ; then
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
local THISDIR=`pwd`
-cd $wsdir
+cd $wsdir/jar
mkdir -p DLLS
mv *natives*.jar DLLS/
@@ -68,7 +71,6 @@ if [ -z "$JOGAMP_DEPLOYMENT_NO_REPACK" ] ; then
fi
mv DLLS/* .
-
rm -rf DLLS
cd $THISDIR
@@ -94,8 +96,8 @@ if [ -z "$wsdir" -o -z "$keystore" -o -z "$storepass" ] ; then
exit 1
fi
-if [ ! -e $wsdir ] ; then
- echo $wsdir does not exist
+if [ ! -e $wsdir/jar ] ; then
+ echo $wsdir/jar does not exist
exit 1
fi
@@ -106,7 +108,7 @@ fi
local THISDIR=`pwd`
-cd $wsdir
+cd $wsdir/jar
rm -rf demo-jars
mkdir -p demo-jars