@@ -8,6 +8,7 @@
<body>
<body>
<h2><a name="Chgrp">Chgrp</a></h2>
<h2><a name="Chgrp">Chgrp</a></h2>
<p><em>Since Ant 1.6.</em></p>
<h3>Description</h3>
<h3>Description</h3>
<p>Changes the group of a file or all files inside specified
<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
atribute is equivalent to the coresponding argument for the chgrp
command.</p>
command.</p>
<p><a href="../CoreTypes/fileset.html">FileSet</a>s can be specified
using nested <code><fileset></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><fileset></code> and <code><filelist></code>
elements.</p>
<h3>Parameters</h3>
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0">
@@ -30,7 +33,7 @@ using nested <code><fileset></code> elements.</p>
<td valign="top">the file or directory of which the group must be
<td valign="top">the file or directory of which the group must be
changed.</td>
changed.</td>
<td valign="top" valign="middle">Yes or nested
<td valign="top" valign="middle">Yes or nested
<code><fileset></code> elements.</td>
<code><fileset/list ></code> elements.</td>
</tr>
</tr>
<tr>
<tr>
<td valign="top">group</td>
<td valign="top">group</td>
@@ -51,6 +54,21 @@ using nested <code><fileset></code> elements.</p>
the directories are considered.</td>
the directories are considered.</td>
<td align="center" valign="top">No, default is <i>file</i></td>
<td align="center" valign="top">No, default is <i>file</i></td>
</tr>
</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 <= 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>
</table>
<h3>Examples</h3>
<h3>Examples</h3>
<blockquote>
<blockquote>
@@ -60,7 +78,7 @@ using nested <code><fileset></code> elements.</p>
UNIX system.</p>
UNIX system.</p>
<blockquote>
<blockquote>
<pre>
<pre>
<chgrp owner="coderjoe ">
<chgrp group="coders ">
<fileset dir="${dist}/bin" includes="**/*.sh"/>
<fileset dir="${dist}/bin" includes="**/*.sh"/>
</chgrp>
</chgrp>
</pre>
</pre>
@@ -84,7 +102,7 @@ with <code>id</code> <code>other.shared.sources</code> get the same
group.</p>
group.</p>
<hr>
<hr>
<p align="center">Copyright © 2002 Apache Software
<p align="center">Copyright © 2002-2003 Apache Software
Foundation. All rights Reserved.</p>
Foundation. All rights Reserved.</p>
</body>
</body>