Author: kaushalye
Date: Wed Apr 18 05:49:06 2007
New Revision: 530007
URL: http://svn.apache.org/viewvc?view=rev&rev=530007
Log:
Introducing a script to run all the scenarios available in Rampart
Added:
webservices/rampart/trunk/c/samples/secpolicy/run_all.sh (with props)
Added: webservices/rampart/trunk/c/samples/secpolicy/run_all.sh
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/secpolicy/run_all.sh?view=auto&rev=530007
==============================================================================
--- webservices/rampart/trunk/c/samples/secpolicy/run_all.sh (added)
+++ webservices/rampart/trunk/c/samples/secpolicy/run_all.sh Wed Apr 18
05:49:06 2007
@@ -0,0 +1,39 @@
+#!/bin/bash
+_SCEN="scenario"
+_SMPL_DIR="$PWD"
+_PORT=9090
+#You may change these to scenarios u need to run
+_LST="1 2 3 4 5 6 7 8"
+
+if [ $# -eq 1 ]
+then
+ _PORT=$1
+ echo "Using port $1 to start the server"
+fi
+
+
+for i in $_LST
+do
+ S_i=$_SCEN$i
+ echo
"-------------------------------------------------------------------------"
+ echo ">Deploying $S_i"
+ sh deploy.sh $S_i
+ echo ">Killing server"
+ killall axis2_http_server
+ echo ">Go to $AXIS2C_HOME"
+ cd $AXIS2C_HOME/bin
+ echo ">Start server @ $_PORT"
+ ./axis2_http_server -p$_PORT &
+ #echo "Jump back to samples dir : $_SMPL_DIR"
+ #cd $_SMPL_DIR
+ echo ">Go to client directory"
+ cd $_SMPL_DIR/../client/sec_echo
+ echo ">Run the sample"
+ sh update_n_run.sh
+ echo ">Jump back to samples dir :$_SMPL_DIR"
+ cd $_SMPL_DIR
+done
+
+killall axis2_http_server
+echo "DONE"
+
Propchange: webservices/rampart/trunk/c/samples/secpolicy/run_all.sh
------------------------------------------------------------------------------
svn:executable = *