You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by mp...@apache.org on 2002/08/27 08:17:52 UTC
cvs commit: xml-forrest/src/resources/forrest-shbat/bin forrest.bat
mpo 2002/08/26 23:17:52
Modified: src/resources/forrest-shbat/bin forrest.bat
Log:
Updated setting %FORREST_HOME% based on the script localtion.
Fix based on the changes to forrest.sh by Jeff Turner <je...@apache.org>
Revision Changes Path
1.3 +3 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- forrest.bat 22 Aug 2002 16:07:50 -0000 1.2
+++ forrest.bat 27 Aug 2002 06:17:51 -0000 1.3
@@ -8,6 +8,9 @@
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