<project name="build.docs">
    <!--
    DONT USE THIS FROM COMMAND LINE; use docs
    builds JavaDoc for all code. Meant to be used with antcall; set parameters
    for properties antcall.dest.javadoc.dir and antcall.javadoc.file 
    -->
    <target name="_javadoc"
            description="internal use; use 'docs' instead. builds javadoc for all XR packages"
            depends="properties">
        <javadoc
                access="public"
                author="true"
                classpathref="libraries.all"
                destdir="${antcall.dest.javadoc.dir}"
                nodeprecated="false"
                nodeprecatedlist="false"
                noindex="false"
                nonavbar="false"
                notree="false"
                source="1.4"
                sourcefiles="${antcall.javadoc.file}"
                sourcepath="${src.java.dir}"
                splitindex="true"
                use="true"
                encoding="iso-8859-1"
                version="true"
                windowtitle="Flying Saucer Project: XML/CSS Renderer in Java">

            <packageset dir="${src.java.dir}">
                <patternset refid="org-java-files"/>
            </packageset>

            <!-- NOTE: wanted to make this a property, but Ant was prepending the
            base directory name to the URL when running this target through Antcall.
            Odd. -->
            <link offline="true"
                  href="http://java.sun.com/j2se/1.4.2/docs/api"
                  packagelistLoc="http://java.sun.com/j2se/1.4.2/docs/api"/>
            <header>Flying Saucer Project Release ${app.version}</header>
            <bottom>&lt;a href='http://xhtmlrenderer.dev.java.net'&gt;Flying Saucer Project Home&lt;/a&gt;</bottom>
        </javadoc>
    </target>

</project>
