From 6eca61f317d03db4bcef364adc0b99241b236210 Mon Sep 17 00:00:00 2001
From: "Arnout J. Kuiper" Version 1.0.6 - 2000/02/13 Version 1.0.7 - 2000/02/28
Table of Contents
@@ -238,8 +238,6 @@ can get executed earlier when an earlier target depends on it:
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 @@ with the name of the property that the target should react to, for example
<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: