Browse Source

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
master
Jan Materne 18 years ago
parent
commit
4ac52b48a3
2 changed files with 5 additions and 1 deletions
  1. +3
    -0
      docs/manual/CoreTasks/loadfile.html
  2. +2
    -1
      docs/manual/CoreTasks/loadresource.html

+ 3
- 0
docs/manual/CoreTasks/loadfile.html View File

@@ -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.
</p>
<p>If the resource content is empty (maybe after processing a filterchain)
the property is not set.</p>


<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">


+ 2
- 1
docs/manual/CoreTasks/loadresource.html View File

@@ -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 <a
href="../CoreTypes/resources.html">resource</a> 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.
</p>

<h3>Parameters</h3>


Loading…
Cancel
Save