geirm 01/04/10 05:16:49
Modified: examples/app_example2 README.txt example2.sh
Added: examples/app_example2 example2.bat
Log:
added bat file from Win users, and small fix
Revision Changes Path
1.2 +4 -0 jakarta-velocity/examples/app_example2/README.txt
Index: README.txt
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/app_example2/README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.txt 2001/02/12 03:10:06 1.1
+++ README.txt 2001/04/10 12:16:47 1.2
@@ -19,3 +19,7 @@
./example2.sh
+or
+
+ example2.bat
+
1.2 +1 -1 jakarta-velocity/examples/app_example2/example2.sh
Index: example2.sh
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/app_example2/example2.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- example2.sh 2001/02/12 03:10:06 1.1
+++ example2.sh 2001/04/10 12:16:48 1.2
@@ -2,7 +2,7 @@
for i in ../../bin/*.jar
do
- _VELCP=$VELCP:"$i"
+ _VELCP=$_VELCP:"$i"
done
java -cp $_VELCP Example2
1.1 jakarta-velocity/examples/app_example2/example2.bat
Index: example2.bat
===================================================================
@echo off
set VELCP=.
for %%i in (..\..\bin\*.jar) do set VELCP=%VELCP%;%%i
echo Using classpath: %VELCP%
java -cp %VELCP% Example2