org.apache.tools.ant.taskdefs.optional.unix

Class Chown

public class Chown extends AbstractAccessTask

Chown equivalent for unix-like environments.

Since: Ant 1.6

UNKNOWN: category="filesystem"

Constructor Summary
Chown()
Chown task for setting file and directory permissions.
Method Summary
protected voidcheckConfiguration()
Ensure that all the required arguments and other conditions have been set.
voidsetExecutable(String e)
We don't want to expose the executable atribute, so overide it.
voidsetOwner(String owner)
Set the owner atribute.

Constructor Detail

Chown

public Chown()
Chown task for setting file and directory permissions.

Method Detail

checkConfiguration

protected void checkConfiguration()
Ensure that all the required arguments and other conditions have been set.

setExecutable

public void setExecutable(String e)
We don't want to expose the executable atribute, so overide it.

Parameters: e User supplied executable that we won't accept.

setOwner

public void setOwner(String owner)
Set the owner atribute.

Parameters: owner The new owner for the file(s) or directory(ies)

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.