<copy>
and <javac>
. See the manual
for a complete description.Use <vppcopy>
anywhere you would use
Ant's
regular <copy>
task to preprocess your
files using the Velocity Template
Language.<vppcopy>
supports all
of <copy>
's parameters and nested
parameters.
<target name="vpp">
<typedef resource="foundrylogic/vpp/typedef.properties" />
<taskdef resource="foundrylogic/vpp/taskdef.properties" />
<vppcopy todir="output" overwrite="true">
<fileset dir="src" includes="*.html.vpp" />
<mapper type="glob" from="*.html.vpp" to="*.html" />
</vppcopy>
</target>