summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/wsgi/wsgi-start
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-11 03:13:15 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-11 03:13:15 +0000
commitbd76aa29d2df9104d6989d6aa7b81dc3db1d455c (patch)
tree42df821fafe597fc5c7aaed793702bac2fea6c9c /sca-cpp/trunk/modules/wsgi/wsgi-start
parent2120ffe5068a7a8078c04475816295708248b63b (diff)
Add test scripts to test the WSGI integration on the GAE SDK.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@932833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/modules/wsgi/wsgi-start4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/wsgi-start b/sca-cpp/trunk/modules/wsgi/wsgi-start
index 92606d5094..d020f3da14 100755
--- a/sca-cpp/trunk/modules/wsgi/wsgi-start
+++ b/sca-cpp/trunk/modules/wsgi/wsgi-start
@@ -19,8 +19,10 @@
# Start WSGI server
here=`readlink -f $0`; here=`dirname $here`
-port=$1
+root=`readlink -f $1`
+port=$2
python_prefix=`cat $here/../python/python.prefix`
+cd $root
$python_prefix/bin/python composite.py $port &