Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 17625 invoked by uid 500); 28 Feb 2000 11:24:35 -0000 Delivered-To: apmail-jakarta-ant-cvs@apache.org Received: (qmail 17622 invoked by uid 1112); 28 Feb 2000 11:24:35 -0000 Date: 28 Feb 2000 11:24:35 -0000 Message-ID: <20000228112435.17620.qmail@locus.apache.org> From: arnout@locus.apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/docs index.html arnout 00/02/28 03:24:35 Modified: docs index.html Log: Removed references to old "init" task. Revision Changes Path 1.11 +9 -6 jakarta-ant/docs/index.html Index: index.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/index.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- index.html 2000/02/14 14:18:57 1.10 +++ index.html 2000/02/28 11:24:35 1.11 @@ -17,7 +17,7 @@
  • Sam Ruby (rubys@us.ibm.com)
  • -

    Version 1.0.6 - 2000/02/13

    +

    Version 1.0.7 - 2000/02/28


    Table of Contents

    @@ -238,8 +238,6 @@

    Suppose we want to execute target D. From its depends attribute, you might think that first target C, then B and then A is executed. Wrong! C depends on B, and B depends on A, so first A is executed, then B, then C, and finally D.

    -

    In situations without such dependencies, you can rely on the order of the -targets in the depends attributes.

    A target gets executed only once. Even when more targets depend on it (see the previous example).

    A target has also the ability to perform its execution if a property has been @@ -251,6 +249,11 @@

    <target name="build-module-A" if="module-A-present"/>

    If no if attribute is present, the target will always be executed.

    +

    It is a good practice to place your property and tstamp tasks in a so called initialization target, on which +all other targets depend. Make sure that that target is always the first one in +the depends list of the other targets. In this manual, most initialization targets +have the name "init".

    A target has the following attributes:

    @@ -1947,8 +1950,8 @@ format and TODAY is "month day year".

    These properties can be used in the buildfile, for instance, to create timestamped filenames or used to replace placeholder tags inside documents to -indicate, for example, the release date. The best place for this task is in the init target.

    +indicate, for example, the release date. The best place for this task is in your +initialization target.

    Parameters

    @@ -2109,7 +2112,7 @@
    1. Make sure the class that implements your task is in the classpath when starting Ant.
    2. -
    3. In the init target, add a taskdef task. This actually adds +
    4. In your initialization target, add a taskdef task. This actually adds your task to the system.
    5. Use your task in the rest of the buildfile.