jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vani...@locus.apache.org
Subject cvs commit: jakarta-watchdog/src/bin watchdog.sh
Date Fri, 03 Mar 2000 22:09:59 GMT
vanitha     00/03/03 14:09:59

  Modified:    src/bin  watchdog.sh
  Log:
  Fixed the PORT and HOST options
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-watchdog/src/bin/watchdog.sh
  
  Index: watchdog.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/bin/watchdog.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- watchdog.sh	2000/03/02 23:32:15	1.4
  +++ watchdog.sh	2000/03/03 22:09:59	1.5
  @@ -13,10 +13,10 @@
   default=$1
   
   if [ "$2" != "" ] ; then
  -    PORT=$2
  +    HOST=$2
   fi
   if [ "$3" != "" ] ; then
  -    HOST=$3
  +    PORT=$3
   fi
   
   if [ -f $HOME/.watchdogrc ] ; then 
  @@ -78,7 +78,7 @@
   fi
   
   if [ "${default}" = servlet -o "${default}" = all ] ; then
  -    java org.apache.tools.ant.Main -Dport=${PORT} -Dhost=${HOST}=\
  +    java org.apache.tools.ant.Main -Dport=${PORT} -Dhost=${HOST} \
           -Dwatchdog.home=${WATCHDOG_HOME} -f ${WATCHDOG_HOME}/conf/servlet.xml servlet-test
   fi
   
  
  
  

Mime
View raw message