As the error message states, you should use "<" for the less-than sign
and ">" for the greater than sign. So your doctitle attribute would be:
doctitle="<h1>RODON</h1>"
-----Original Message-----
From: Klaus Thorwart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 11:47 AM
To: [EMAIL PROTECTED]
Subject: javadoc-task: HTML-Code for the doctitle attribute
Hi all,
I have set up a javadoc task for our software which works fine, as long
as I use only pure text for the values of the attributes of doctitle,
bottom and header. As soon as I try to use real HTML-Tags within these
values I get messages like the following:
ant -buildfile tmp.xml
Buildfile: tmp.xml
BUILD FAILED
/klaus-dev/RODON-II/LM/rodonII/tmp.xml:19: Use "<" for "<" in
attribute values.
Total time: 2 seconds
The corresponding xml-file has the following contents:
<project name="simpleCompile" default="docs" basedir=".">
<target name="init">
<property name="sourceDir" value="src" />
<property name="tstSourceDir" value="tstsrc" />
<property name="outputDir" value="cls" />
<property name="tstOutputDir" value="tstcls" />
<property name="build.compiler" value="modern" />
<property name="reports.tests" value="tstcls" />
</target>
<target name="docs" depends="init">
<javadoc packagenames="x.y.z"
classpath="${outputDir}:${tstOutputDir}:bin/AcmeCrypto.jar"
sourcepath="src"
destdir="reference"
author="true"
version="true"
use="true"
windowtitle="RODON II Reference"
doctitle="<h1>RODON</h1>">
</javadoc>
</target>
</project>
Does anybody know how to solve this problem ?
Thanks in advance
Klaus