diff --git a/WHATSNEW b/WHATSNEW
index f0bb9aad3..def9dfce4 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -17,13 +17,15 @@ org.apache.tools.ant to org.apache.tools.ant.types.
* the class attribute of
Changes the permissions of a file or all files inside a specified directory. Right now it has efect only under Unix. +
Changes the permissions of a file or all files inside specified directories. Right now it has efect only under Unix. The permissions are also UNIX style, like the argument for the chmod command.
-It is possible to refine the set of files whose permissions are changed. This can be -done with the includes, includesfile, excludes, excludesfile and defaultexcludes -attributes. With the includes or includesfile attribute you specify the files you want to -have included by using patterns. The exclude or excludesfile attribute is used to specify -the files you want to have excluded. This is also done with patterns. And -finally with the defaultexcludes attribute, you can specify whether you -want to use default exclusions or not. See the section on directory based tasks, on how the -inclusion/exclusion of files works, and how to write patterns. The patterns are -relative to the dir directory.
+See the section on directory based +tasks, on how the inclusion/exclusion of files works, and how to +write patterns.
+This task holds an implicit FileSet and
+supports all of FileSet's attributes and nested elements
+directly. More FileSets can be specified using nested
+<fileset>
or <filesetref>
+elements.
file | the file or single directory of which the permissions must be changed. | -exactly one of the two | +exactly one of the two or nested <fileset> elements. |
dir | the directory which holds the files whose permissions must be changed. | ||
src | -the file or single directory of which the permissions - must be changed (deprecated, use file instead). | -No | -|
perm | the new permissions. | @@ -977,6 +969,12 @@ relative to the dir directory. ("yes"/"no"). Default excludes are used when omitted.No | |
parallel | +process all specified files using a single
+ chmod command. Defaults to true. |
+ No | +
@@ -985,12 +983,28 @@ relative to the dir directory.
makes the "start.sh" file readable and executable for anyone on a UNIX system.
+<chmod dir="${dist}/bin" perm="ugo+rx" includes="**/*.sh" />
makes all ".sh" files below ${dist}/bin
readable and executable for anyone on a UNIX system.
+++<chmod perm="g+w" /> + <fileset dir="shared/sources1" > + <exclude name="**/trial/**" /> + </fileset> + <filesetref refid="other.shared.sources" /> +</chmod> ++
makes all files below shared/sources1
(except those
+below any directory named trial) writable for members of the same
+group on a UNIX system. In addition all files belonging to a FileSet
+with ID
other.shared.sources
get the same
+permissions.