You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/11/20 09:13:29 UTC

svn commit: r477098 - in /incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver: conf/ logs/ modules/ startserver.sh

Author: jsdelfino
Date: Mon Nov 20 00:13:28 2006
New Revision: 477098

URL: http://svn.apache.org/viewvc?view=rev&rev=477098
Log:
Removed logs and modules directories, adjusted svn-ignore properties, and cleaned up startserver script

Removed:
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/logs/
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/modules/
Modified:
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/   (props changed)
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh

Propchange: incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Nov 20 00:13:28 2006
@@ -0,0 +1 @@
+mod_axis2.conf

Modified: incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh?view=diff&rev=477098&r1=477097&r2=477098
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh Mon Nov 20 00:13:28 2006
@@ -42,13 +42,20 @@
 export TUSCANY_SCACPP_ROOT=$APFULLDIR/../
 
 # Generate the mod_axis2 configuration
-echo "LoadModule axis2_module $AXIS2C_HOME/lib/libmod_axis2.so.0.0.0" >conf/mod_axis2.conf
-echo "<Location /axis2>" >>conf/mod_axis2.conf
-echo "        SetHandler axis2_module" >>conf/mod_axis2.conf
-echo "        RepoPath $AXIS2C_HOME" >>conf/mod_axis2.conf
-echo "        LogFile $AXIS2C_HOME/logs/httpd.log" >>conf/mod_axis2.conf
-echo "        Axis2LogLevel AXIS2_LOG_LEVEL_INFO" >>conf/mod_axis2.conf
-echo "</Location>" >>conf/mod_axis2.conf
+if [ ! -f conf/mod_axis2.conf ]; then
+  echo "LoadModule axis2_module $AXIS2C_HOME/lib/libmod_axis2.so.0.0.0" >conf/mod_axis2.conf
+  echo "<Location /axis2>" >>conf/mod_axis2.conf
+  echo "        SetHandler axis2_module" >>conf/mod_axis2.conf
+  echo "        RepoPath $AXIS2C_HOME" >>conf/mod_axis2.conf
+  echo "        LogFile $AXIS2C_HOME/logs/httpd.log" >>conf/mod_axis2.conf
+  echo "        Axis2LogLevel AXIS2_LOG_LEVEL_INFO" >>conf/mod_axis2.conf
+  echo "</Location>" >>conf/mod_axis2.conf
+fi
+
+# Create logs directory
+if [ ! -d logs ]; then
+  mkdir logs
+fi
 
 # Start the HTTP server
 echo "Starting Apache httpd"



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org