forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrest-shbat/bin forrest.bat
Date Sun, 03 Nov 2002 10:19:15 GMT
jefft       2002/11/03 02:19:15

  Modified:    src/resources/forrest-shbat/bin forrest.bat
  Log:
  Try to infer FORREST_HOME if it isn't set.
  
  Revision  Changes    Path
  1.11      +4 -3      xml-forrest/src/resources/forrest-shbat/bin/forrest.bat
  
  Index: forrest.bat
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/bin/forrest.bat,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- forrest.bat	3 Nov 2002 10:03:43 -0000	1.10
  +++ forrest.bat	3 Nov 2002 10:19:14 -0000	1.11
  @@ -1,12 +1,13 @@
   @echo off
   setlocal 
   
  +Rem ----- use the location of this script to infer $FORREST_HOME -------
  +set DEFAULT_FORREST_HOME=%~dp0\..
  +if "%FORREST_HOME%"=="" set FORREST_HOME=%DEFAULT_FORREST_HOME%
  +
   Rem ----- set the current working dir as the PROJECT_HOME variable  ----
   call "%FORREST_HOME%\bin\setpwdvar.bat"
   set PROJECT_HOME="%PWD%"
  -
  -Rem ----- use the location of this script to infer $FORREST_HOME -------
  -set FORREST_HOME=%~dp0\..
   
   Rem ----- set the ant file to use --------------------------------------
   set ANTFILE="%FORREST_HOME%\forrest.build.xml"
  
  
  

Mime
View raw message