From cad63fce0b5d0a4a695b75d90acc767026c6e2cf Mon Sep 17 00:00:00 2001
From: adammurdoch
-Listed below are some of the current set of tasks. You can find example -usages of these tasks in the sample project file
+ Listed below are some of the current set of tasks. You can find example + usages of these tasks in the sample project filesrc/make/sample.ant
. -src/make/sample.ant
. +
<condition>
Sets a property if a particular condition is true. See -Conditions for a list of available conditions.
+ Conditions for a list of available conditions.
<fail>
Causes the build to fail.
@@ -633,7 +633,7 @@ usages of these tasks in the sample project file
<if>
src/make/sample.ant
Runs a set of tasks, with a provided error and clean-up handler.
<converter-def>
Register a type converter. These are used when configuring a task -or data-type from attributes.
+ or data-type from attributes.
<type-def>
Register a task or data-type.
@@ -652,7 +652,7 @@ or data-type from attributes.
<import>
The following conditions are available
<and>
Evaluates a set of nested conditions, and AND them together. Evaluation is -lazy. An empty
+ lazy. An empty<and>
condition evaluates to true.<and>
condition evaluates to true.
<available>
Tests if a particular class or resource is available.
@@ -661,13 +661,33 @@ lazy. An empty
<file-test>
<and>
condition evaluates to true.Tests whether a proeprty is set, and not set to 'false'.
<or>
Evaluates a set of nested conditions, and OR them together. Evaluation is -lazy. An empty
+ lazy. An empty<or>
evaluates to true.<or>
evaluates to true.
<os>
Tests which operating system the build is running on.
<not>
Negates a nested condition.
+ + File Name Mappers + + |
+ ++ |
<move>
, <delete>
,
<touch>
and <mkdir>
tasks on top
diff --git a/proposal/myrmidon/docs/vfs.html b/proposal/myrmidon/docs/vfs.html
index 340488105..53cd876db 100644
--- a/proposal/myrmidon/docs/vfs.html
+++ b/proposal/myrmidon/docs/vfs.html
@@ -333,6 +333,10 @@
+ <mapped-fileset>
A fileset that applies a file name mapper + to a nested fileset. +
diff --git a/proposal/myrmidon/src/xdocs/buildfile.xml b/proposal/myrmidon/src/xdocs/buildfile.xml index 96d1c223d..ba5aa2523 100644 --- a/proposal/myrmidon/src/xdocs/buildfile.xml +++ b/proposal/myrmidon/src/xdocs/buildfile.xml @@ -205,75 +205,96 @@ attributes:
-Listed below are some of the current set of tasks. You can find example
-usages of these tasks in the sample project file src/make/sample.ant
.
-
+ Listed below are some of the current set of tasks. You can find example
+ usages of these tasks in the sample project file src/make/sample.ant
.
+
<condition>
<condition>
Sets a property if a particular condition is true. See -Conditions for a list of available conditions.
+Sets a property if a particular condition is true. See + Conditions for a list of available conditions.
-<fail>
Causes the build to fail.
+<fail>
Causes the build to fail.
-<if>
Conditionally executes a set of tasks.
+<if>
Conditionally executes a set of tasks.
-<load-properties>
Loads a set of properties from a file.
+<load-properties>
Loads a set of properties from a file.
-<log>
Writes a log message.
+<log>
Writes a log message.
-<property>
Sets a property.
+<property>
Sets a property.
-<try-catch>
Runs a set of tasks, with a provided error and clean-up handler.
+<try-catch>
Runs a set of tasks, with a provided error and clean-up handler.
-<converter-def>
Register a type converter. These are used when configuring a task -or data-type from attributes.
+<converter-def>
Register a type converter. These are used when configuring a task + or data-type from attributes.
-<type-def>
Register a task or data-type.
+<type-def>
Register a task or data-type.
-<import>
Register the contents of an antlib.
+<import>
Register the contents of an antlib.
The following conditions are available
+The following conditions are available
-<and>
Evaluates a set of nested conditions, and AND them together. Evaluation is
-lazy. An empty <and>
condition evaluates to true.
<and>
Evaluates a set of nested conditions, and AND them together. Evaluation is
+ lazy. An empty <and>
condition evaluates to true.
<available>
Tests if a particular class or resource is available.
+<available>
Tests if a particular class or resource is available.
-<file-test>
Tests a file against a set of file selectors.
+<file-test>
Tests a file against a set of file selectors.
-<is-set>
Tests whether a proeprty is set, and not set to 'false'.
+<is-set>
Tests whether a proeprty is set, and not set to 'false'.
-<or>
Evaluates a set of nested conditions, and OR them together. Evaluation is
-lazy. An empty <or>
evaluates to true.
<or>
Evaluates a set of nested conditions, and OR them together. Evaluation is
+ lazy. An empty <or>
evaluates to true.
<os>
Tests which operating system the build is running on.
+<os>
Tests which operating system the build is running on.
-<not>
Negates a nested condition.
+<not>
Negates a nested condition.
The following file name mappers are available:
+ +<chain>
Applies a set of nested file name mappers to file names.
+ +<flatten>
Maps all file names to a single directory.
+ +<prefix>
Adds a prefix to the front of each file name.
+ +<map-extension>
Changes the extension of file names.
+ +