geirm 00/11/02 08:10:32
Modified: examples README.txt
Log:
Update.
Revision Changes Path
1.2 +25 -5 jakarta-velocity/examples/README.txt
Index: README.txt
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.txt 2000/11/02 15:27:11 1.1
+++ README.txt 2000/11/02 16:10:26 1.2
@@ -1,11 +1,31 @@
-Example.java : simple example to show how to use the Velocity Template Engine
-in a standalone program. To build :
+Welcome to Velocity!
- javac -classpath .:../bin/velocity-0.4.jar Example.java
+This directory contains to demonstrations of how the Velocity template engine
+can be used.
+
+1) Example.java : This is a simple example to show how to use the Velocity
Template Engine
+in a standalone program. It should be pre-compiled for you, so to run it using the
example
+template provided (example.vm) :
-to run
./test.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 :
+
+ javac -classpath .:../bin/velocity-0.4.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 :)
+
+
+2) SimpleServlet.java : This is a simple example of how Velocity can be used with
your favorite servlet
+engine. <need to review the code - gmj>
+
+
+Thanks for using Velocity!
-the output will be in the file 'output'.
+- the Velocity team