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 setpwdvar.bat forrest.bat
Date Sat, 26 Oct 2002 16:30:55 GMT
jefft       2002/10/26 09:30:55

  Modified:    src/resources/forrest-shbat/bin setpwdvar.bat forrest.bat
  Log:
  Fix problems with directories containing spaces.  Thanks to dIon Gillard
  
  Revision  Changes    Path
  1.2       +2 -2      xml-forrest/src/resources/forrest-shbat/bin/setpwdvar.bat
  
  Index: setpwdvar.bat
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/bin/setpwdvar.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- setpwdvar.bat	22 Aug 2002 16:07:50 -0000	1.1
  +++ setpwdvar.bat	26 Oct 2002 16:30:55 -0000	1.2
  @@ -1,10 +1,10 @@
   @echo off
   
  -if %1*==* goto recurse 
  +if "%1*"=="*" goto recurse 
   set PWD=%~f1
   
   goto end
   :recurse
  -%~dpn0 .
  +"%~dpn0" .
   
   :end
  
  
  
  1.7       +3 -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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- forrest.bat	26 Oct 2002 15:38:23 -0000	1.6
  +++ forrest.bat	26 Oct 2002 16:30:55 -0000	1.7
  @@ -2,10 +2,10 @@
   setlocal 
   
   Rem ----- Test if ant is around ----------------------------------------
  -if %ANT_HOME%a==a goto noant
  +if "%ANT_HOME%a"=="a" goto noant
   
   Rem ----- set the current working dir as the PROJECT_HOME variable  ----
  -call %FORREST_HOME%\bin\setpwdvar.bat 
  +call "%FORREST_HOME%\bin\setpwdvar.bat"
   set PROJECT_HOME=%PWD%
   
   Rem ----- use the location of this script to infer $FORREST_HOME -------
  @@ -18,7 +18,7 @@
   echo
   
   Rem ----- call ant.. ---------------------------------------------------
  -call %ANT_HOME%\bin\ant -buildfile "%ANTFILE%" -Dbasedir="%PROJECT_HOME%" -Dproject.home="%PROJECT_HOME%"
-Dforrest.home="%FORREST_HOME%" -emacs -logger org.apache.tools.ant.NoBannerLogger %1 %2 %3
%4 %5 %6 %7 %8 %9
  +call "%ANT_HOME%\bin\ant" -buildfile %ANTFILE% -Dbasedir="%PROJECT_HOME%" -Dproject.home="%PROJECT_HOME%"
-Dforrest.home="%FORREST_HOME%" -emacs -logger org.apache.tools.ant.NoBannerLogger %1 %2 %3
%4 %5 %6 %7 %8 %9
   
   goto end
   
  
  
  

Mime
View raw message