| org.apache.tools.ant.taskdefs.ExecuteOn org.apache.tools.ant.taskdefs.optional.windows.Attrib
Attrib | public class Attrib extends ExecuteOn (Code) | | Attrib equivalent for Win32 environments.
Note: Attrib parameters /S and /D are not handled.
since: Ant 1.6 |
Constructor Summary | |
public | Attrib() Constructor for Attrib. |
Attrib | public Attrib()(Code) | | Constructor for Attrib.
|
checkConfiguration | protected void checkConfiguration()(Code) | | Check the attributes.
|
isValidOs | protected boolean isValidOs()(Code) | | Check if the os is valid.
Always include windows
true if the os is valid. |
setAddsourcefile | public void setAddsourcefile(boolean b)(Code) | | Add source file.
This is not allowed, and it always throws a BuildException.
Parameters: b - ignored |
setArchive | public void setArchive(boolean value)(Code) | | Set the Archive file attribute.
Parameters: value - a boolean value |
setCommand | public void setCommand(String e)(Code) | | Set the executable.
This is not allowed, and it always throws a BuildException.
Parameters: e - ignored |
setExecutable | public void setExecutable(String e)(Code) | | Set the executable.
This is not allowed, and it always throws a BuildException.
Parameters: e - ignored |
setFile | public void setFile(File src)(Code) | | A file to be attribed.
Parameters: src - a file |
setHidden | public void setHidden(boolean value)(Code) | | Set the Hidden file attribute.
Parameters: value - a boolean value |
setMaxParallel | public void setMaxParallel(int max)(Code) | | Set max parallel.
This is not allowed, and it always throws a BuildException.
Parameters: max - ignored |
setParallel | public void setParallel(boolean parallel)(Code) | | Set parallel.
This is not allowed, and it always throws a BuildException.
Parameters: parallel - ignored |
setReadonly | public void setReadonly(boolean value)(Code) | | Set the ReadOnly file attribute.
Parameters: value - a boolean value |
setSkipEmptyFilesets | public void setSkipEmptyFilesets(boolean skip)(Code) | | Set skip empty file sets.
This is not allowed, and it always throws a BuildException.
Parameters: skip - ignored |
setSystem | public void setSystem(boolean value)(Code) | | Set the System file attribute.
Parameters: value - a boolean value |
|
|