|
|
@@ -123,7 +123,7 @@ have been regenerated by this task.</p> |
|
|
|
<tr> |
|
|
|
<td valign="top">preserveLastModified</td> |
|
|
|
<td valign="top">Keep the file timestamp(s) even if the file(s) |
|
|
|
is(are) modified.</td> |
|
|
|
is(are) modified. <em>since Ant 1.8.0.</em></td> |
|
|
|
<td valign="top" align="center">No, defaults to false</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
@@ -139,9 +139,24 @@ nested <code><include></code>, <code><exclude></code> and |
|
|
|
<p>Since Ant 1.8.0 this task supports any filesystem |
|
|
|
based <a href="../CoreTypes/resources.html#collection">resource |
|
|
|
collections</a> as nested elements.</p> |
|
|
|
<h4>replacetoken and replacevalue</h4> |
|
|
|
<p>If either the text you want to replace or the replacement text |
|
|
|
cross line boundaries, you can use nested elements to specify |
|
|
|
them.</p> |
|
|
|
<p>The elements support attributes:</p> |
|
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
|
<tr> |
|
|
|
<td valign="top"><b>Attribute</b></td> |
|
|
|
<td valign="top"><b>Description</b></td> |
|
|
|
<td align="center" valign="top"><b>Required</b></td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">expandProperties</td> |
|
|
|
<td valign="top">Whether to expand properties in the nested text. |
|
|
|
<em>since Ant 1.8.0.</em></td> |
|
|
|
<td align="center">No, defaults to true.</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
<h3>Examples</h3> |
|
|
|
<blockquote><pre> |
|
|
|
<replace dir="${src}" value="wombat"> |
|
|
|