geirm 01/12/18 12:54:39
Added: examples/velocitydocs README.txt build.xml
Log:
init
Revision Changes Path
1.1 jakarta-velocity-dvsl/examples/velocitydocs/README.txt
Index: README.txt
===================================================================
Simple example that shows what DVSL can do with the Velocity
document tree. Good for comparing performance between DVSL, XSLT
and Anakia
To use XSLT, you need to add xalan into the classpath. It's in
../../lib
1.1 jakarta-velocity-dvsl/examples/velocitydocs/build.xml
Index: build.xml
===================================================================
<project name="dvsl" default="docs" basedir=".">
<!-- ========== Initialize Properties ===================================== -->
<property file="build/build.properties"/> <!-- Component local -->
<property file="../build.properties"/> <!-- Commons local -->
<property file="${user.home}/.build.properties"/> <!-- User local -->
<!-- ========== External Dependencies ===================================== -->
<!-- the local JJAR repository -->
<property name="local.repository" value="../../lib" />
<!-- ========== Component Declarations ==================================== -->
<!-- The docs source directory -->
<property name="docs.src" value="xdocs"/>
<!-- The docs destination directory -->
<property name="docs.dest" value="docs"/>
<!-- Construct compile classpath -->
<path id="classpath">
<fileset dir="${local.repository}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="../../" >
<include name="*.jar" />
</fileset>
</path>
<!-- ========== Executable Targets ======================================== -->
<target name="docs">
<taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask">
<classpath>
<path refid="classpath"/>
</classpath>
</taskdef>
<dvsl
basedir="${docs.src}"
destdir="${docs.dest}/"
extension=".html"
toolbox="${docs.src}/toolbox.props"
style="${docs.src}/site.dvsl"
excludes="**/project.xml"
includes="**/*.xml"
/>
</target>
<target name="xsl">
<!-- Transform the top-level directory -->
<style basedir="${docs.src}"
destdir="${docs.dest}"
extension=".html"
style="site.xsl"
excludes="empty.xml"
includes="*.xml">
<param name="relative-path" expression="."/>
<classpath refid="classpath"/>
</style>
</target>
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>