From 1159111b7a71b72eb04326df33211e1733f7e742 Mon Sep 17 00:00:00 2001 From: mattinger Date: Thu, 6 Jul 2006 21:53:00 +0000 Subject: Initial addition into subversion with build script changes git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@5 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- docs/manual/tasks/foreach.html | 145 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 docs/manual/tasks/foreach.html (limited to 'docs/manual/tasks/foreach.html') diff --git a/docs/manual/tasks/foreach.html b/docs/manual/tasks/foreach.html new file mode 100644 index 0000000..d3f6b0b --- /dev/null +++ b/docs/manual/tasks/foreach.html @@ -0,0 +1,145 @@ + + + + Ant-contrib Tasks: Foreach + + + +

Foreach

+ +

The foreach task iterates over a list, a list of paths, or + both. If both, list and paths, are specified, the list will be + evaluated first. Nested paths are evaluated in the order they + appear in the task.

+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
listThe list of values to process, with the + delimiter character, indicated by the "delimiter" + attribute, separating each value.Yes, unless a nested Fileset + has been specified.
targetName of the target to call for each token or + matched file.Yes
paramName of the parameter to pass the tokens or + files in as to the target.Yes
delimiterThe delimiter characters that separates the + values in the "list" attribute. Each character in the + supplied string can act as a delimiter. This follows the semantics + of the StringTokenizer class.No, defaults to ",".
inheritallIf true, pass all properties to + the called target. Defaults to false.No
inheritrefsIf true, pass all references to the + the called target. Defaults to false.No
parallelIf true, all instances of the called + target will execute in parallel. Defaults to false, + which forces sequential execution of the targets. It is up to + the caller to ensure that parallel execution is safe. This is + accomplished through the means of the "parallel" task contained + in the ANT core.No
maxThreadsThe maximum number of allowable threads when executing + in parallel.No. Defaults to 5.
trimIf true, any leading or trailing + whitespace will be removed from the list item before it is passed + to the requested target + No. Defaults to false.
+ +

Parameters specified as nested elements

+ +

path

+ +

Paths + are used to select sets of files or directories to iterate over.

+ +

Using a path allows you to determine the order by which files + are considered by using + filelists + or explicit pathelements. You also can specify + whether you want to iterate over files or directories by chosing + either filesets or + dirsets.

+ +

fileset

+ +

FileSets + are used to select sets of files to iterate over. This + element is deprecated, use nested path elements + instead.

+ +

param

+ +

Specifies the properties to set before running the specified + target. See property + for usage guidelines.

+ +

reference

+ +

Used to chose references that shall be copied into the new + project, optionally changing their id.

+ + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
refidThe id of the reference in the calling project.Yes
torefidThe id of the reference in the called project.No, defaults to the value of + refid.
+ +
+

Copyright © 2002-2004 Ant-Contrib Project. All + rights Reserved.

+ + + -- cgit v1.2.3