Browse Source

Update docs of tasks that inherit new features of <apply> - PR: 20079

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274602 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
ecf85b3eb6
4 changed files with 67 additions and 14 deletions
  1. +1
    -1
      docs/manual/CoreTasks/chmod.html
  2. +21
    -4
      docs/manual/OptionalTasks/attrib.html
  3. +23
    -5
      docs/manual/OptionalTasks/chgrp.html
  4. +22
    -4
      docs/manual/OptionalTasks/chown.html

+ 1
- 1
docs/manual/CoreTasks/chmod.html View File

@@ -34,7 +34,7 @@ href="../CoreTypes/filelist.html">filelist</a>s.</p>
<td valign="top">file</td>
<td valign="top">the file or single directory of which the permissions
must be changed.</td>
<td valign="top" valign="middle" rowspan="2">exactly one of the two or nested <code>&lt;fileset&gt;</code> elements.</td>
<td valign="top" valign="middle" rowspan="2">exactly one of the two or nested <code>&lt;fileset/list&gt;</code> elements.</td>
</tr>
<tr>
<td valign="top">dir</td>


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

@@ -8,6 +8,7 @@
<body>

<h2><a name="attrib">Attrib</a></h2>
<p><em>Since Ant 1.6.</em></p>
<h3>Description</h3>

<p>Changes the attributes of a file or all files inside specified
@@ -15,8 +16,10 @@ directories. Right now it has effect only under Windows. Each of the
4 possible permissions has its own attribute, matching the arguments
for the attrib command.</p>

<p><a href="../CoreTypes/fileset.html">FileSet</a>s can be specified
using nested <code>&lt;fileset&gt;</code> elements.</p>
<p><a href="../CoreTypes/fileset.html">FileSet</a>s or <a
href="../CoreTypes/filelist.html">FileList</a>s can be specified using
nested <code>&lt;fileset&gt;</code> and <code>&lt;filelist&gt;</code>
elements.</p>

<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
@@ -30,7 +33,7 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
<td valign="top">the file or directory of which the permissions must be
changed.</td>
<td valign="top" valign="middle">Yes or nested
<code>&lt;fileset&gt;</code> elements.</td>
<code>&lt;fileset/list&gt;</code> elements.</td>
</tr>
<tr>
<td valign="top">readonly</td>
@@ -56,6 +59,20 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
If set to <i>dir</i>, only the directories are considered.</td>
<td align="center" valign="top">No, default is <i>file</i></td>
</tr>
<tr>
<td valign="top">maxparallel</td>
<td valign="top">Limit the amount of parallelism by passing at
most this many sourcefiles at once. Set it to &lt;= 0 for
unlimited. Defaults to unlimited.</td>
<td align="center" valign="top">No</td>

</tr>
<tr>
<td valign="top">verbose</td>
<td valign="top">Whether to print a summary after execution or not.
Defaults to <code>false</code>.</td>
<td align="center" valign="top">No</td>
</tr>
</table>
<h3>Examples</h3>
<blockquote>
@@ -84,7 +101,7 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
to a FileSet with <code>id</code> <code>other.shared.sources</code> get the
same attributes.</p>
<hr>
<p align="center">Copyright &copy; 2002 Apache Software
<p align="center">Copyright &copy; 2002-2003 Apache Software
Foundation. All rights Reserved.</p>

</body>


+ 23
- 5
docs/manual/OptionalTasks/chgrp.html View File

@@ -8,6 +8,7 @@
<body>

<h2><a name="Chgrp">Chgrp</a></h2>
<p><em>Since Ant 1.6.</em></p>
<h3>Description</h3>

<p>Changes the group of a file or all files inside specified
@@ -15,8 +16,10 @@ directories. Right now it has effect only under Unix. The group
atribute is equivalent to the coresponding argument for the chgrp
command.</p>

<p><a href="../CoreTypes/fileset.html">FileSet</a>s can be specified
using nested <code>&lt;fileset&gt;</code> elements.</p>
<p><a href="../CoreTypes/fileset.html">FileSet</a>s or <a
href="../CoreTypes/filelist.html">FileList</a>s can be specified using
nested <code>&lt;fileset&gt;</code> and <code>&lt;filelist&gt;</code>
elements.</p>

<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
@@ -30,7 +33,7 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
<td valign="top">the file or directory of which the group must be
changed.</td>
<td valign="top" valign="middle">Yes or nested
<code>&lt;fileset&gt;</code> elements.</td>
<code>&lt;fileset/list&gt;</code> elements.</td>
</tr>
<tr>
<td valign="top">group</td>
@@ -51,6 +54,21 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
the directories are considered.</td>
<td align="center" valign="top">No, default is <i>file</i></td>
</tr>
<tr>
<td valign="top">maxparallel</td>
<td valign="top">Limit the amount of parallelism by passing at
most this many sourcefiles at once. Set it to &lt;= 0 for
unlimited. Defaults to unlimited.</td>
<td align="center" valign="top">No</td>

</tr>
<tr>
<td valign="top">verbose</td>
<td valign="top">Whether to print a summary after execution or not.
Defaults to <code>false</code>.</td>
<td align="center" valign="top">No</td>
</tr>

</table>
<h3>Examples</h3>
<blockquote>
@@ -60,7 +78,7 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
UNIX system.</p>
<blockquote>
<pre>
&lt;chgrp owner=&quot;coderjoe&quot;&gt;
&lt;chgrp group=&quot;coders&quot;&gt;
&lt;fileset dir=&quot;${dist}/bin&quot; includes=&quot;**/*.sh&quot;/&gt;
&lt;/chgrp&gt;
</pre>
@@ -84,7 +102,7 @@ with <code>id</code> <code>other.shared.sources</code> get the same
group.</p>

<hr>
<p align="center">Copyright &copy; 2002 Apache Software
<p align="center">Copyright &copy; 2002-2003 Apache Software
Foundation. All rights Reserved.</p>

</body>


+ 22
- 4
docs/manual/OptionalTasks/chown.html View File

@@ -8,6 +8,7 @@
<body>

<h2><a name="Chown">Chown</a></h2>
<p><em>Since Ant 1.6.</em></p>
<h3>Description</h3>

<p>Changes the owner of a file or all files inside specified
@@ -15,8 +16,10 @@ directories. Right now it has effect only under Unix. The owner
atribute is equivalent to the coresponding argument for the chown
command.</p>

<p><a href="../CoreTypes/fileset.html">FileSet</a>s can be specified
using nested <code>&lt;fileset&gt;</code> elements.</p>
<p><a href="../CoreTypes/fileset.html">FileSet</a>s or <a
href="../CoreTypes/filelist.html">FileList</a>s can be specified using
nested <code>&lt;fileset&gt;</code> and <code>&lt;filelist&gt;</code>
elements.</p>

<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
@@ -30,7 +33,7 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
<td valign="top">the file or directory of which the owner must be
changed.</td>
<td valign="top" valign="middle">Yes or nested
<code>&lt;fileset&gt;</code> elements.</td>
<code>&lt;fileset/list&gt;</code> elements.</td>
</tr>
<tr>
<td valign="top">owner</td>
@@ -51,6 +54,21 @@ using nested <code>&lt;fileset&gt;</code> elements.</p>
the directories are considered.</td>
<td align="center" valign="top">No, default is <i>file</i></td>
</tr>
<tr>
<td valign="top">maxparallel</td>
<td valign="top">Limit the amount of parallelism by passing at
most this many sourcefiles at once. Set it to &lt;= 0 for
unlimited. Defaults to unlimited.</td>
<td align="center" valign="top">No</td>

</tr>
<tr>
<td valign="top">verbose</td>
<td valign="top">Whether to print a summary after execution or not.
Defaults to <code>false</code>.</td>
<td align="center" valign="top">No</td>
</tr>

</table>
<h3>Examples</h3>
<blockquote>
@@ -83,7 +101,7 @@ system. In addition all files belonging to a FileSet
with <code>id</code> <code>other.shared.sources</code> get the same
owner.</p>
<hr>
<p align="center">Copyright &copy; 2002 Apache Software
<p align="center">Copyright &copy; 2002-2003 Apache Software
Foundation. All rights Reserved.</p>

</body>


Loading…
Cancel
Save