File: README.Debian

package info (click to toggle)
velocity 1.7-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,856 kB
  • sloc: java: 41,240; xml: 15,001; sh: 180; sql: 18; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,266 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
38
39
velocity for Debian
-------------------

velocity.jar is installed to /usr/share/java. Please set CLASSPATH to
following files:
	/usr/share/java/xercesImpl.jar
	/usr/share/java/jdom0.jar
	/usr/share/java/logkit.jar
	/usr/share/java/log4j-1.2.jar
	/usr/share/java/commons-collections.jar
	/usr/share/java/velocity.jar

Their symlinks are created to /usr/share/ant/lib.

 -- Takashi Okamoto <tora@debian.org>, Wed, 15 Aug 2001 08:57:18 +0900

velocity.jar provides the following Ant tasks: anakia and texen.
Those Ant tasks are made available under the following Antlib namespace:
xmlns:velocity="antlib:org.apache.velocity"

The following project is an example using the anakia task:

<project name="myproject" xmlns:velocity="antlib:org.apache.velocity">

  <taskdef uri="antlib:org.apache.velocity" classpath="/usr/share/java/velocity.jar" />

  <!-- example use of the anakia task -->
  <velocity:anakia basedir="xdocs/docs" destdir="build/docs"
         extension=".html" style="site.vsl"
         projectFile="../stylesheets/project.xml"
         includes="**/*.xml"
         lastModifiedCheck="true"
         templatePath="xdocs/stylesheets">
    </velocity:anakia>
</project>


 -- Ludovic Claude <ludovic.claude@laposte.net>  Tue, 07 Jul 2009 13:24:03 +0100