<delete dir="${tomcat.deployer}"/>
<delete dir="${tomcat.dist}" failonerror="false"/>
+ <delete dir="${tomcat.release}" />
<!-- This is why releasing must be done on a Windows box:
otherwise this check fails and the .exe distro is not generated -->
</target>
+ <!-- Classpath -->
+ <path id="tomcat.classpath">
+ <pathelement location="${jdt.jar}"/>
+ </path>
+
<target name="dist-javadoc" depends="dist-source"
description="Create the Tomcat javadoc" >
<javadoc packagenames="org.apache.*"
sourcepath="${tomcat.dist}/src/java"
destdir="${tomcat.dist}/webapps/docs/api"
- author="true" version="true"
- windowtitle="Tomcat API Documentation"
- doctitle="Tomcat API"
- bottom="Copyright &#169; 2000-${year} Apache Software Foundation. All Rights Reserved."
+ version="true"
+ windowtitle="Apache Tomcat ${version} API Documentation"
+ doctitle="Apache Tomcat ${version} API"
+ header="<b>Apache Tomcat ${version}</b>"
+ bottom="Copyright &#169; 2000-${year} Apache Software Foundation. All Rights Reserved."
additionalparam="-breakiterator"
maxmemory="256m" >
+ <classpath>
+ <path refid="tomcat.classpath"/>
+ <path location="${ant.core.lib}"/>
+ </classpath>
+ <link href="http://java.sun.com/j2se/1.6.0/docs/api/"/>
</javadoc>
</target>
<target name="clean" description="Delete the default output folders">
<delete dir="${tomcat.extras}"/>
+ <delete dir="${tomcat.embed}"/>
</target>
<target name="commons-logging" depends="prepare"