Browse Source

<mapper> and srcfile can live together.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272514 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 23 years ago
parent
commit
dd7c7098d8
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      docs/manual/CoreTasks/uptodate.html

+ 1
- 4
docs/manual/CoreTasks/uptodate.html View File

@@ -46,7 +46,7 @@ target execution depending on the relative age of the specified files.</p>
</tr>
<tr>
<td valign="top">srcfile</td>
<td valign="top">The file to check against the target file.</td>
<td valign="top">The file to check against the target file(s).</td>
<td valign="top" align="center">Yes, unless a nested
<code>&lt;srcfiles&gt;</code> element is present.</td>
</tr>
@@ -71,9 +71,6 @@ attribute or nested <code>&lt;srcfiles&gt;</code> elements, but not both.
a set of target files to check for being up-to-date with respect to a
set of source files.</p>

<p><strong>Note:</strong> The nested <code>&lt;mapper&gt;</code> element is
only valid when used with the <code>&lt;srcfiles&gt;</code> element.

<h3>Examples</h3>
<pre> &lt;uptodate property=&quot;xmlBuild.notRequired&quot; targetfile=&quot;${deploy}\xmlClasses.jar&quot; &gt;
&lt;srcfiles dir= &quot;${src}/xml&quot; includes=&quot;**/*.dtd&quot;/&gt;


Loading…
Cancel
Save