[Yanel-commits] rev 22487 - public/yanel/trunk/src/binary-dist

michi at wyona.com michi at wyona.com
Wed Feb 7 00:09:23 CET 2007


Author: michi
Date: 2007-02-07 00:09:21 +0100 (Wed, 07 Feb 2007)
New Revision: 22487

Modified:
   public/yanel/trunk/src/binary-dist/stop.bat
Log:
CATALINA_HOME fixed

Modified: public/yanel/trunk/src/binary-dist/stop.bat
===================================================================
--- public/yanel/trunk/src/binary-dist/stop.bat	2007-02-06 23:09:14 UTC (rev 22486)
+++ public/yanel/trunk/src/binary-dist/stop.bat	2007-02-06 23:09:21 UTC (rev 22487)
@@ -2,10 +2,21 @@
 
 echo "Stop Yanel ..."
 
+rem ----- Ignore system CATALINA_HOME variable
+set ORIGINAL_CATALINA_HOME=%CATALINA_HOME%
+set CATALINA_HOME=apache-tomcat-5.5.20
+
 :: Check if JAVA_HOME is set or goto end
 if not "%JAVA_HOME%" == "" goto gotJavaHome
 echo You must set JAVA_HOME to point at your Java Development Kit installation
 goto end
+
 :gotJavaHome
 
-apache-tomcat-5.5.20\bin\shutdown.bat
+%CATALINA_HOME%\bin\shutdown.bat
+
+rem ----- Restore CATALINA_HOME
+set CATALINA_HOME=%ORIGINAL_CATALINA_HOME%
+set ORIGINAL_CATALINA_HOME=
++
++:end




More information about the Yanel-commits mailing list