org.apache.tools.ant.taskdefs
public class Chmod extends ExecuteOn
Since: Ant 1.1
UNKNOWN: category="filesystem" Refactor so it does not extend from ExecuteOn and then turn around and unsupport several attributes.
| Constructor Summary | |
|---|---|
| Chmod()
Chmod task for setting file and directory permissions. | |
| Method Summary | |
|---|---|
| protected void | checkConfiguration() |
| PatternSet.NameEntry | createExclude()
Add a name entry on the exclude list. |
| PatternSet.NameEntry | createInclude()
Add a name entry on the include list. |
| PatternSet | createPatternSet()
Add a set of patterns. |
| void | execute() |
| protected boolean | isValidOs() |
| void | setAddsourcefile(boolean b) |
| void | setCommand(Commandline cmdl) |
| void | setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not.
|
| void | setDir(File src)
The directory which holds the files whose permissions must be changed. |
| void | setExcludes(String excludes)
Sets the set of exclude patterns. |
| void | setExecutable(String e) |
| void | setFile(File src)
The file or single directory of which the permissions must be changed. |
| void | setIncludes(String includes)
Sets the set of include patterns. |
| void | setPerm(String perm)
The new permissions. |
| void | setProject(Project project) |
| void | setSkipEmptyFilesets(boolean skip) |
UNKNOWN: ignore="true"
UNKNOWN: ignore="true"
Parameters: useDefaultExcludes "true"|"on"|"yes" when default exclusions should be used, "false"|"off"|"no" when they shouldn't be used.
Parameters: src
Parameters: excludes the string containing the exclude patterns
UNKNOWN: ignore="true"
Parameters: src
Parameters: includes the string containing the include patterns
Parameters: perm
See Also: ProjectComponent
UNKNOWN: ignore="true"