Browse Source

error in example

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@631563 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 17 years ago
parent
commit
f715dc614a
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      docs/manual/OptionalTasks/attrib.html

+ 4
- 1
docs/manual/OptionalTasks/attrib.html View File

@@ -112,18 +112,21 @@ directory tree), so you'll have to experiment a little.</p>
<td align="center" valign="top">No</td>
</tr>
</table>

<h3>Examples</h3>
<blockquote>
<pre>&lt;attrib file=&quot;${dist}/run.bat&quot; readonly=&quot;true&quot; hidden=&quot;true&quot;/&gt;</pre>
</blockquote>
<p>makes the &quot;run.bat&quot; file read-only and hidden.</p>

<blockquote>
<pre>&lt;attrib readonly=&quot;false&quot;&gt;
&lt;fileset dir=&quot;${meta.inf}&quot; includes=&quot;**/*.xml&quot;/&gt;
&lt;attrib&gt;
&lt;/attrib&gt;
</pre>
</blockquote>
<p>makes all &quot;.xml&quot; files below <code>${meta.inf}</code> readable.</p>

<blockquote>
<pre>
&lt;attrib readonly=&quot;true&quot; archive=&quot;true&quot;&gt;


Loading…
Cancel
Save