geirm       01/04/10 05:15:38

  Modified:    examples/app_example1 example.sh
  Added:       examples/app_example1 example.bat
  Log:
  added bat file for Windows users, and small irrelevant fix to example.sh
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-velocity/examples/app_example1/example.sh
  
  Index: example.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/app_example1/example.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- example.sh        2001/02/12 03:08:23     1.1
  +++ example.sh        2001/04/10 12:15:38     1.2
  @@ -2,7 +2,7 @@
   
   for i in ../../bin/*.jar
   do
  -    _VELCP=$VELCP:"$i"
  +    _VELCP=$_VELCP:"$i"
   done
   
   java -cp $_VELCP:. Example example.vm  
  
  
  
  1.1                  jakarta-velocity/examples/app_example1/example.bat
  
  Index: example.bat
  ===================================================================
  @echo off
  
  set VELCP=.
  for %%i in (..\..\bin\*.jar) do set VELCP=%VELCP%;%%i
  
  echo Using classpath:  %VELCP%
  
  java -cp %VELCP% Example example.vm
  
  
  
  

Reply via email to