jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sant...@locus.apache.org
Subject cvs commit: jakarta-watchdog-4.0 build.bat build.sh
Date Tue, 03 Oct 2000 22:18:17 GMT
santosh     00/10/03 15:18:14

  Added:       .        build.bat build.sh
  Log:
  watchdog 4.0
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/build.bat
  
  Index: build.bat
  ===================================================================
  @echo off
  rem $Id: build.bat,v 1.1 2000/10/03 22:18:12 santosh Exp $
  rem Build file for stoopid dos machines
  
  SET _ANTHOME=%ANT_HOME%
  if "%ANT_HOME%" == "" SET ANT_HOME=..\jakarta-ant
  
  if "%CLASSPATH%" == "" goto noclasspath
  
  rem else
  set _CLASSPATH=%CLASSPATH%
  set CLASSPATH=%CLASSPATH%;%ANT_HOME%\lib\ant.jar;%JAVA_HOME%\lib\tools.jar
  goto next
  
  :noclasspath
  set _CLASSPATH=
  set CLASSPATH=%ANT_HOME%\lib\ant.jar
  goto next
  
  :next
  echo Using classpath: %CLASSPATH%
  
  java org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
  
  :clean
  
  rem clean up classpath after
  set CLASSPATH=%_CLASSPATH%
  set _CLASSPATH=
  SET ANT_HOME=%_ANTHOME%
  SET _ANTHOME=
  
  
  
  1.1                  jakarta-watchdog-4.0/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  #
  # $Id: build.sh,v 1.1 2000/10/03 22:18:13 santosh Exp $
  # Ksh wrapper around ant build system.
  
  baseDir=`pwd`
  
  echo $baseDir .....
  
  ADDL_CLASSPATH=../jakarta-ant/lib/ant.jar:$JAVA_HOME/lib/tools.jar
  
  if [ -n $CLASSPATH ]; then
    CLASSPATH=$CLASSPATH:$ADDL_CLASSPATH
  else
    CLASSPATH=$ADDL_CLASSPATH
  fi
  export CLASSPATH
  
  echo Building with classpath $CLASSPATH
  
  java org.apache.tools.ant.Main $*
  
  
  
  

Mime
View raw message