are there to handle the situation when the API has not been generated or it has been generated with JDK 1.1. One or both will be overwritten when the API is actually generated via javadoc. PR: 1812 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269280 13f79535-47bb-0310-9956-ffa450edef68master
@@ -76,7 +76,7 @@ | |||||
<property name="dist.bin" value="${dist.dir}/bin"/> | <property name="dist.bin" value="${dist.dir}/bin"/> | ||||
<property name="dist.lib" value="${dist.dir}/lib"/> | <property name="dist.lib" value="${dist.dir}/lib"/> | ||||
<property name="dist.docs" value="${dist.dir}/docs"/> | <property name="dist.docs" value="${dist.dir}/docs"/> | ||||
<property name="dist.javadocs" value="${dist.dir}/docs/api"/> | |||||
<property name="dist.javadocs" value="${dist.dir}/docs/manual/api"/> | |||||
<property name="src.dist.dir" value="dist-src"/> | <property name="src.dist.dir" value="dist-src"/> | ||||
<property name="src.dist.src" value="${src.dist.dir}/src"/> | <property name="src.dist.src" value="${src.dist.dir}/src"/> | ||||
@@ -333,7 +333,7 @@ | |||||
<fileset dir="${docs.dir}"/> | <fileset dir="${docs.dir}"/> | ||||
</copy> | </copy> | ||||
<copy todir="${dist.javadocs}"> | |||||
<copy todir="${dist.javadocs}" overwrite="true"> | |||||
<fileset dir="${build.javadocs}"/> | <fileset dir="${build.javadocs}"/> | ||||
</copy> | </copy> | ||||
@@ -560,7 +560,7 @@ | |||||
description="--> creates the API documentation"> | description="--> creates the API documentation"> | ||||
<mkdir dir="${build.javadocs}"/> | <mkdir dir="${build.javadocs}"/> | ||||
<javadoc packagenames="org.apache.*" | <javadoc packagenames="org.apache.*" | ||||
useexternalfile="yes" | |||||
useexternalfile="no" | |||||
sourcepath="${java.dir}" | sourcepath="${java.dir}" | ||||
destdir="${build.javadocs}" | destdir="${build.javadocs}" | ||||
author="true" | author="true" | ||||
@@ -0,0 +1,11 @@ | |||||
<html> | |||||
<head> | |||||
<meta http-equiv="refresh" content="1; URL=packages.html"> | |||||
<title>Ant API</title> | |||||
</head> | |||||
<body> | |||||
Redirecting to <a href="packages.html">Ant API ...</a> | |||||
</body> | |||||
</html> | |||||
@@ -0,0 +1,10 @@ | |||||
<html> | |||||
<head> | |||||
<title>Ant API</title> | |||||
</head> | |||||
<body> | |||||
<b>Ant API has not been generated</b> | |||||
</body> | |||||
</html> | |||||
@@ -17,6 +17,7 @@ | |||||
<a href="optionaltasklist.html" target="navFrame">Optional Tasks</a><br> | <a href="optionaltasklist.html" target="navFrame">Optional Tasks</a><br> | ||||
<a href="ide.html" target="navFrame">Editor/IDE Integration</a><br> | <a href="ide.html" target="navFrame">Editor/IDE Integration</a><br> | ||||
<a href="develop.html">Developing with Ant</a><br> | <a href="develop.html">Developing with Ant</a><br> | ||||
<a href="api/index.html" target="_top">Ant API</a><br> | |||||
<a href="resources.html">Ant Resources</a><br> | <a href="resources.html">Ant Resources</a><br> | ||||
<a href="LICENSE">License</a><br> | <a href="LICENSE">License</a><br> | ||||
<a href="feedback.html">Feedback</a><br><br> | <a href="feedback.html">Feedback</a><br><br> | ||||