Browse Source

Add descriptions to main targets.

Submitted by:	mpoeschl@marmot.at


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268863 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
e78553b86d
1 changed files with 28 additions and 14 deletions
  1. +28
    -14
      build.xml

+ 28
- 14
build.xml View File

@@ -159,7 +159,9 @@
Build the code Build the code
=================================================================== ===================================================================
--> -->
<target name="build" depends="prepare, check_for_optional_packages">
<target name="build"
depends="prepare, check_for_optional_packages"
description="--> compiles the source code">
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<mkdir dir="${build.classes}"/> <mkdir dir="${build.classes}"/>
<mkdir dir="${build.lib}"/> <mkdir dir="${build.lib}"/>
@@ -230,10 +232,12 @@
<!-- <!--
=================================================================== ===================================================================
Create the ant jars: ant.jar and optional.jar
Create the ant jars: ant.jar and optional.jar
=================================================================== ===================================================================
--> -->
<target name="jars" depends="build">
<target name="jars"
depends="build"
description="--> creates the ant jars">


<jar jarfile="${build.lib}/${name}.jar" <jar jarfile="${build.lib}/${name}.jar"
basedir="${build.classes}" basedir="${build.classes}"
@@ -257,7 +261,9 @@
Create the essential distribution that can run ant Create the essential distribution that can run ant
=================================================================== ===================================================================
--> -->
<target name="dist-lite" depends="jars, setup-distproperties">
<target name="dist-lite"
depends="jars, setup-distproperties"
description="--> creates a minimum distribution to run ant">


<mkdir dir="${dist.dir}"/> <mkdir dir="${dist.dir}"/>
<mkdir dir="${dist.bin}"/> <mkdir dir="${dist.bin}"/>
@@ -295,7 +301,7 @@
Create the complete distribution Create the complete distribution
=================================================================== ===================================================================
--> -->
<target name="dist">
<target name="dist" description="--> creates a complete distribution">
<antcall target="internal_dist"> <antcall target="internal_dist">
<param name="dist.dir" value="${dist.name}" /> <param name="dist.dir" value="${dist.name}" />
</antcall> </antcall>
@@ -350,7 +356,7 @@
Target to create bootstrap build Target to create bootstrap build
=================================================================== ===================================================================
--> -->
<target name="bootstrap">
<target name="bootstrap" description="--> creates a bootstrap build">
<antcall target="dist-lite"> <antcall target="dist-lite">
<param name="dist.dir" value="${bootstrap.dir}" /> <param name="dist.dir" value="${bootstrap.dir}" />
</antcall> </antcall>
@@ -362,7 +368,9 @@
Create the source distribution Create the source distribution
=================================================================== ===================================================================
--> -->
<target name="src-dist" depends="setup-distproperties">
<target name="src-dist"
depends="setup-distproperties"
description="--> creates a source distribution">


<mkdir dir="${src.dist.dir}" /> <mkdir dir="${src.dist.dir}" />
@@ -425,7 +433,8 @@
Create the binary distribution Create the binary distribution
=================================================================== ===================================================================
--> -->
<target name="distribution">
<target name="distribution"
description="--> creates a binary distribution">
<mkdir dir="${dist.base}"/> <mkdir dir="${dist.base}"/>


<antcall target="internal_dist"> <antcall target="internal_dist">
@@ -484,7 +493,8 @@
Cleans up build and distribution directories Cleans up build and distribution directories
=================================================================== ===================================================================
--> -->
<target name="clean">
<target name="clean"
description="--> cleans up build and dist directories">
<delete dir="${build.dir}" /> <delete dir="${build.dir}" />
<delete dir="${dist.base}" /> <delete dir="${dist.base}" />
<delete dir="${defaultdist.dir}" /> <delete dir="${defaultdist.dir}" />
@@ -498,7 +508,9 @@
Cleans everything Cleans everything
=================================================================== ===================================================================
--> -->
<target name="allclean" depends="clean">
<target name="allclean"
depends="clean"
description="--> cleans up everything">
<delete file="${bootstrap.dir}/bin/antRun" /> <delete file="${bootstrap.dir}/bin/antRun" />
<delete file="${bootstrap.dir}/bin/antRun.bat" /> <delete file="${bootstrap.dir}/bin/antRun.bat" />
</target> </target>
@@ -527,14 +539,15 @@
--> -->
<target name="javadoc_check"> <target name="javadoc_check">
<uptodate property="javadoc.notrequired" targetfile="${build.javadocs}/packages.html" >
<uptodate property="javadoc.notrequired"
targetfile="${build.javadocs}/packages.html" >
<srcfiles dir= "${java.dir}" includes="**/*.java"/> <srcfiles dir= "${java.dir}" includes="**/*.java"/>
</uptodate> </uptodate>
</target> </target>


<target name="javadocs" depends="prepare, javadoc_check" <target name="javadocs" depends="prepare, javadoc_check"
unless="javadoc.notrequired" unless="javadoc.notrequired"
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.*"
sourcepath="${java.dir}" sourcepath="${java.dir}"
@@ -652,10 +665,11 @@


<!-- <!--
=================================================================== ===================================================================
Main target - runs dist-lite by default
Main target - runs dist-lite by default
=================================================================== ===================================================================
--> -->
<target name="main">
<target name="main"
description="--> creates a minimum distribution in ./dist">
<antcall target="dist-lite"/> <antcall target="dist-lite"/>
</target> </target>


Loading…
Cancel
Save