File: README.txt

package info (click to toggle)
velocity 1.6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,000 kB
  • ctags: 5,029
  • sloc: java: 37,878; xml: 14,959; sh: 172; makefile: 27; jsp: 24; sql: 18
file content (37 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Welcome to Velocity!

As always, the if you have any questions :

1) Make sure you followed any directions :)  (did you build everything?)
2) Review documentation included in this package, or online at
      http://jakarta.apache.org/velocity/
3) Ask on the velocity-user list.  This is a great source of support information.
   To join, read http://jakarta.apache.org/site/mail.html and then follow the 
   link at the bottom to join the lists.

event_example
-------------

This simple example demonstrates the event handling features of 
the Velocity Template Engine.

Note that this is considered a more advanced topic - you don't need
to know this to use 99% of the features of Velocity, so if this 
seems like too much at first - ignore it!

This is a standalone program.  It is compiled by the 'examples' build
target.

To run, and assuming you have the Velocity and Commons-Collections jar
in your CLASSPATH, simply do :

java EventExample

if the .jar's are not in your classpath, do :

java -cp \
../../bin/velocity-[VERSION].jar:../../build/lib/commons-collections.jar:. \
EventExample

(NOTE: make sure that the jarname is correct - this document might get
out of synch with the release version numbers.)