Sorry, I forgot to include this is the last post.  But, after looking
at what these patches provide, I guess it's better I didn't include them in
the last post. :-)

        Basically, I enjoy greatly having files that prevent me from syncing
environmental variables.  This just makes catalina.sh find it's CATALINA_HOME
more intelligently, if such a .rc is available.  I hijacked the idea from Ant
and it's .antrc.

        And, I like a restart command, but that's just me.

  HTH,
  -- /v\atthew
-- 
Matthew L Daniel                     Discovery is seeing what everybody 
Internet Developer,                  else has seen, and thinking what 
Still Current Development, Inc.      nobody else has thought.
[EMAIL PROTECTED]                     -- Albert, Szent-Gyorgi
--- bin/catalina.sh_orig        Mon Mar 19 17:45:49 2001
+++ bin/catalina.sh     Mon Mar 19 17:46:21 2001
@@ -16,6 +16,9 @@
 # -----------------------------------------------------------------------------
 
 
+if test -f $HOME/.catalinarc; then
+    . $HOME/.catalinarc;
+fi
 # ----- Verify and Set Required Environment Variables -------------------------
 
 if [ -z "$CATALINA_HOME" ] ; then
--- /dev/null   Wed Sep 27 06:31:54 2000
+++ bin/restart.sh      Mon Mar 19 17:59:17 2001
@@ -0,0 +1,10 @@
+#!/bin/sh
+# -----------------------------------------------------------------------------
+# startup.sh - Start Script for the CATALINA Server
+#
+# $Id: startup.sh,v 1.1 2000/08/11 05:22:16 craigmcc Exp $
+# -----------------------------------------------------------------------------
+
+BASEDIR=`dirname $0`
+$BASEDIR/catalina.sh stop "$@"
+$BASEDIR/catalina.sh start "$@"

Reply via email to