Browse Source

doc for use of filenamemaper in uptodate

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277163 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
8263f39a5a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      docs/manual/CoreTasks/uptodate.html

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

@@ -74,6 +74,10 @@ set of source files.</p>
The mapper "to" attribute is relative to the target file, or to The mapper "to" attribute is relative to the target file, or to
the "dir" attribute of the nested srcfiles element. the "dir" attribute of the nested srcfiles element.
</p> </p>
<p>
<em>Since Ant 1.6.3</em>,
one can use a filenamemapper type in place of the mapper element.
</p>
<h3>Examples</h3> <h3>Examples</h3>
<pre> &lt;uptodate property=&quot;xmlBuild.notRequired&quot; targetfile=&quot;${deploy}\xmlClasses.jar&quot; &gt; <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; &lt;srcfiles dir= &quot;${src}/xml&quot; includes=&quot;**/*.dtd&quot;/&gt;


Loading…
Cancel
Save