From ea89580525b7a07a409a6a8f415f40c7a5422ed2 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Mon, 23 May 2005 21:22:12 +0000 Subject: [PATCH] Document length task changes. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278343 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/length.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/manual/CoreTasks/length.html b/docs/manual/CoreTasks/length.html index 75c809bd2..13d6ab8fe 100755 --- a/docs/manual/CoreTasks/length.html +++ b/docs/manual/CoreTasks/length.html @@ -11,8 +11,9 @@

Length

Description

Display or set a property containing length information for - a string, a file, or one or more nested filesets. Can also - be used as a condition. Since Ant 1.6.3

+ a string, a file, or one or more nested + Resource Collections. + Can also be used as a condition. Since Ant 1.6.3

Parameters

@@ -40,8 +41,8 @@ @@ -57,14 +58,16 @@ - +
mode File length mode; when "all" the resulting - value is the sum of all included files' lengths; when "each" - the task outputs the absolute path and length of each included file, + value is the sum of all included resources' lengths; when "each" + the task outputs the absolute path and length of each included resource, one per line. Ignored when processing as a condition. No; default is "all"
whenComparison type: "equal", "greater", "less" - for use when operating as a condition.Comparison type: "equal", "eq", "greater", "gt", "less", + "lt", "ge" (greater or equal), "ne" (not equal), "le" (less or equal) + for use when operating as a condition. No; default is "equal"

Parameters specified as nested elements

-

fileset

You can include files via nested - filesets.

+

Resource Collections

+

You can include resources via nested + Resource Collections.

Examples

<length string="foo" property="length.foo" />