Still to be written. Have a look at the mine collection template.
An example is:
<taskdef name="oqmath" classname="org.activemath.author.oqmath.OQMathAntTask"
classpath="${oqmath.home}/OQMath.jar"/>
<oqmath
fromDir="oqmath"
toDir="omdoc"
debug="${debug}"
debugQMathInput="${oqmath.debug.qmathinput}"
qmathHome="${qmath.home}"/>
Where
qmath.home is the the qmath_3 directory
with a compiled QMath program in it (or
QMath.exe on Windows, or
QMath-{os name}-{os arch}).oqmath.home is a directory containing the OQMath.jar.debug is a flag ("true" or "false") indicating wether debug output is requested (very verbose)debugQMathInput is a file-name to which (if debug is true) the input passed to QMath
will be output.