Browse Source

Add API as part of manual. The files that are in the API directory

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-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
7999cd0fb4
4 changed files with 25 additions and 3 deletions
  1. +3
    -3
      build.xml
  2. +11
    -0
      docs/manual/api/index.html
  3. +10
    -0
      docs/manual/api/packages.html
  4. +1
    -0
      docs/manual/toc.html

+ 3
- 3
build.xml View File

@@ -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"


+ 11
- 0
docs/manual/api/index.html View File

@@ -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>



+ 10
- 0
docs/manual/api/packages.html View File

@@ -0,0 +1,10 @@
<html>
<head>
<title>Ant API</title>
</head>
<body>
<b>Ant API has not been generated</b>
</body>
</html>



+ 1
- 0
docs/manual/toc.html View File

@@ -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>


Loading…
Cancel
Save