geirm 01/02/11 12:20:58
Modified: examples README.txt
Log:
Noted the change to example.sh
Revision Changes Path
1.6 +5 -8 jakarta-velocity/examples/README.txt
Index: README.txt
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/README.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- README.txt 2001/02/11 19:58:23 1.5
+++ README.txt 2001/02/11 20:20:58 1.6
@@ -7,17 +7,14 @@
in a standalone program. It should be pre-compiled for you. Run it using the
example
template provided (example.vm):
- ./test.sh
+ ./example.sh
-the output will be in the file 'output'.
+If you wish to recompile the example, remember to include the velocity jar in
+ your classpath, or just specify it on the command line :
-If you wish to recompile the example, remember to include the velocity jar in your
classpath, or
-just specify it on the command line :
+ javac -classpath .:../bin/velocity-X.jar Example.java
- javac -classpath .:../bin/velocity-0.71.jar Example.java
-
-(If there is a problem, make sure that the filename of the velocity jar hasn't
changed. We can
-be forgetful at times :)
+where 'X' in the jar filename is the current version of the jar.
1b) Example2.java : Another simple example showing how to use Velocity in a
standalone
program. This examples uses the org.apache.velocity.util.Velocity application
utility