From 4ac52b48a3051cc38e2904aa781b3886a453556a Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Fri, 16 Mar 2007 11:49:05 +0000 Subject: [PATCH] Bug 41642: document not-setting of the property on empty strings. (LoadResource.java:184) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518946 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/loadfile.html | 3 +++ docs/manual/CoreTasks/loadresource.html | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTasks/loadfile.html b/docs/manual/CoreTasks/loadfile.html index 97c12a195..f7befbaa8 100644 --- a/docs/manual/CoreTasks/loadfile.html +++ b/docs/manual/CoreTasks/loadfile.html @@ -31,6 +31,9 @@ works on files exclusively and provides a srcFile attribute for convenience. Unless an encoding is specified, the encoding of the current locale is used.

+

If the resource content is empty (maybe after processing a filterchain) +the property is not set.

+

Parameters

diff --git a/docs/manual/CoreTasks/loadresource.html b/docs/manual/CoreTasks/loadresource.html index 033d3ad4a..d6c5d75e8 100755 --- a/docs/manual/CoreTasks/loadresource.html +++ b/docs/manual/CoreTasks/loadresource.html @@ -33,7 +33,8 @@ Load a text resource into a single property. Unless an encoding is specified, the encoding of the current locale is used. Resources to load are specified as nested resource elements or single -element resource collections. +element resource collections. If the resource content is empty (maybe after +processing a filterchain) the property is not set.

Parameters