git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274602 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -34,7 +34,7 @@ href="../CoreTypes/filelist.html">filelist</a>s.</p> | |||||
| <td valign="top">file</td> | <td valign="top">file</td> | ||||
| <td valign="top">the file or single directory of which the permissions | <td valign="top">the file or single directory of which the permissions | ||||
| must be changed.</td> | must be changed.</td> | ||||
| <td valign="top" valign="middle" rowspan="2">exactly one of the two or nested <code><fileset></code> elements.</td> | |||||
| <td valign="top" valign="middle" rowspan="2">exactly one of the two or nested <code><fileset/list></code> elements.</td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td valign="top">dir</td> | <td valign="top">dir</td> | ||||
| @@ -8,6 +8,7 @@ | |||||
| <body> | <body> | ||||
| <h2><a name="attrib">Attrib</a></h2> | <h2><a name="attrib">Attrib</a></h2> | ||||
| <p><em>Since Ant 1.6.</em></p> | |||||
| <h3>Description</h3> | <h3>Description</h3> | ||||
| <p>Changes the attributes of a file or all files inside specified | <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 | 4 possible permissions has its own attribute, matching the arguments | ||||
| for the attrib command.</p> | for the attrib 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 permissions must be | <td valign="top">the file or directory of which the permissions 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">readonly</td> | <td valign="top">readonly</td> | ||||
| @@ -56,6 +59,20 @@ using nested <code><fileset></code> elements.</p> | |||||
| If set to <i>dir</i>, only the directories are considered.</td> | If set to <i>dir</i>, only 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> | ||||
| @@ -84,7 +101,7 @@ using nested <code><fileset></code> elements.</p> | |||||
| to a FileSet with <code>id</code> <code>other.shared.sources</code> get the | to a FileSet with <code>id</code> <code>other.shared.sources</code> get the | ||||
| same attributes.</p> | same attributes.</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> | ||||
| @@ -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> | ||||
| @@ -8,6 +8,7 @@ | |||||
| <body> | <body> | ||||
| <h2><a name="Chown">Chown</a></h2> | <h2><a name="Chown">Chown</a></h2> | ||||
| <p><em>Since Ant 1.6.</em></p> | |||||
| <h3>Description</h3> | <h3>Description</h3> | ||||
| <p>Changes the owner of a file or all files inside specified | <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 | atribute is equivalent to the coresponding argument for the chown | ||||
| 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 owner must be | <td valign="top">the file or directory of which the owner 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">owner</td> | <td valign="top">owner</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> | ||||
| @@ -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 | with <code>id</code> <code>other.shared.sources</code> get the same | ||||
| owner.</p> | owner.</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> | ||||