Class Chgrp
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.ExecTask
org.apache.tools.ant.taskdefs.ExecuteOn
org.apache.tools.ant.taskdefs.optional.unix.AbstractAccessTask
org.apache.tools.ant.taskdefs.optional.unix.Chgrp
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.ExecuteOnExecuteOn.FileDirBoth
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.ExecuteOndestDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, typeFields inherited from class org.apache.tools.ant.taskdefs.ExecTaskcmdl, failOnError, newEnvironment, redirector, redirectorElementFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidEnsure that all the required arguments and other conditions have been set.voidWe don't want to expose the executable attribute, so override it.voidSet the group attribute.Methods inherited from class org.apache.tools.ant.taskdefs.optional.unix.AbstractAccessTaskisValidOs, setAddsourcefile, setCommand, setFile, setSkipEmptyFilesetsMethods inherited from class org.apache.tools.ant.taskdefs.ExecuteOnadd, add, addDirset, addFilelist, addFileset, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setType, setupRedirector, setVerboseMethods inherited from class org.apache.tools.ant.taskdefs.ExecTaskaddConfiguredRedirector, addEnv, createArg, createWatchdog, execute, getOs, getOsFamily, getResolveExecutable, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExecute, setAppend, setDir, setDiscardError, setDiscardOutput, setError, setErrorProperty, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOsFamily, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSearchPath, setSpawn, setTimeout, setTimeout, setVMLauncherMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
Chgrppublic Chgrp()Chgrp task for setting unix group of a file.
 
- 
- 
Method Details- 
setGroupSet the group attribute.- Parameters:
- group- The new group for the file(s) or directory(ies)
 
- 
checkConfigurationprotected void checkConfiguration()Ensure that all the required arguments and other conditions have been set.- Overrides:
- checkConfigurationin class- ExecuteOn
 
- 
setExecutableWe don't want to expose the executable attribute, so override it.- Overrides:
- setExecutablein class- ExecTask
- Parameters:
- e- User supplied executable that we won't accept.
 
 
-