[Yanel-commits] rev 42318 -
public/yanel/trunk/src/build/targets/continuous-integration
michi at wyona.com
michi at wyona.com
Thu Apr 9 11:07:53 CEST 2009
Author: michi
Date: 2009-04-09 11:07:52 +0200 (Thu, 09 Apr 2009)
New Revision: 42318
Modified:
public/yanel/trunk/src/build/targets/continuous-integration/CI
Log:
also allow to re-configure shutdown and ajp port
Modified: public/yanel/trunk/src/build/targets/continuous-integration/CI
===================================================================
--- public/yanel/trunk/src/build/targets/continuous-integration/CI 2009-04-09 08:58:31 UTC (rev 42317)
+++ public/yanel/trunk/src/build/targets/continuous-integration/CI 2009-04-09 09:07:52 UTC (rev 42318)
@@ -1,14 +1,16 @@
#!/bin/sh
-if [ $# -ne 3 ]; then
- echo "Usage: CI <HTTP port> <HTTPS port> <Canoo webtest path>"
+if [ $# -ne 5 ]; then
+ echo "Usage: CI <HTTP port> <HTTPS port> <SHUTDOWN port> <AJP port> <Canoo webtest path>"
exit 2
fi
set -ex
# NOTE: Each project should have different ports and can have a different Canoo version and hence these properties should be configurable
HTTP_PORT=$1
HTTPS_PORT=$2
-WEBTEST_HOME_DIR=$3
+SHUTDOWN_PORT=$3
+AJP_PORT=$4
+WEBTEST_HOME_DIR=$5
#WEBTEST_HOME_DIR=/home/michi/local/canoo-DEV_R_1721
@@ -35,7 +37,7 @@
./build.sh $BUILD_OPTS -Danswer=YES #XXX HACK: endorsed lib management always uses the same variable to ask for user input
# Patch Tomcat ports:
-tools/apache-ant/bin/ant -f tools/apache-tomcat/build.xml configure-host -Dtomcat.home.dir=$TOMCAT_HOME -Dhost=localhost -Dhost.HTTP.port=$HTTP_PORT -Dhost.HTTPS.port=$HTTPS_PORT
+tools/apache-ant/bin/ant -f tools/apache-tomcat/build.xml configure-host -Dtomcat.home.dir=$TOMCAT_HOME -Dhost=localhost -Dhost.HTTP.port=$HTTP_PORT -Dhost.HTTPS.port=$HTTPS_PORT -Dhost.SHUTDOWN.port=$SHUTDOWN_PORT -Dhost.AJP.port=$AJP_PORT
./yanel.sh start
More information about the Yanel-commits
mailing list