dieOnCircularReference(Stack stk, Project p) Overrides the version of DataType to recurse on all DataType
child elements that may have been added.
public void
setAlwaysLog(boolean alwaysLog) If true, (error and non-error) output will be "teed", redirected
as specified while being sent to Ant's logging mechanism as if no
redirection had taken place.
public void
setAppend(boolean append) Whether output should be appended to or overwrite an existing file.
public void
setCreateEmptyFiles(boolean createEmptyFiles) Whether output and error files should be created even when empty.
public void
setError(File error) Set the file to which standard error is to be redirected.
Overrides the version of DataType to recurse on all DataType
child elements that may have been added.
Parameters: stk - the stack of data types to use (recursively). Parameters: p - the project to use to dereference the references. throws: BuildException - on error.
If true, (error and non-error) output will be "teed", redirected
as specified while being sent to Ant's logging mechanism as if no
redirection had taken place. Defaults to false.
Parameters: alwaysLog - boolean since: Ant 1.6.3
Whether output should be appended to or overwrite an existing file.
Defaults to false.
Parameters: append - if true output and error streams are appended to theirrespective files, if specified.
setCreateEmptyFiles
public void setCreateEmptyFiles(boolean createEmptyFiles)(Code)
Whether output and error files should be created even when empty.
Defaults to true.
Parameters: createEmptyFiles - boolean.
Set the file to which standard error is to be redirected.
Parameters: error - the file to which error is to be written.
setErrorEncoding
public void setErrorEncoding(String errorEncoding)(Code)
Set the error encoding.
Parameters: errorEncoding - String.
setErrorProperty
public void setErrorProperty(String errorProperty)(Code)
Property name whose value should be set to the error of
the process.
Parameters: errorProperty - the name of the property to be setwith the error output.
Controls whether error output of exec is logged. This is only useful
when output is being redirected and error output is desired in the
Ant log.
Parameters: logError - if true the standard error is sent to the Ant log systemand not sent to output.
setLogInputString
public void setLogInputString(boolean logInputString)(Code)
Set whether to include the value of the input string in log messages.
Defaults to true.
Parameters: logInputString - true or false. since: Ant 1.7
File the output of the process is redirected to. If error is not
redirected, it too will appear in the output.
Parameters: out - the file to which output stream is written.
setOutputEncoding
public void setOutputEncoding(String outputEncoding)(Code)
Set the output encoding.
Parameters: outputEncoding - String.
setOutputProperty
public void setOutputProperty(String outputProperty)(Code)
Property name whose value should be set to the output of
the process.
Parameters: outputProperty - the name of the property to be set with thetask's output.