net.sf.antcontrib.platform
public class ShellScriptTask extends ExecTask
Method Summary | |
---|---|
void | addText(String s)
Adds s to the lines of script code. |
void | execute()
execute the task |
void | setCommand(Commandline notUsed)
Disallow the command attribute of parent class ExecTask.
ant.attribute ignore="true" |
void | setExecutable(String shell)
Sets the shell used to run the script. |
void | setInputString(String s)
Sets script code to s. |
void | setShell(String shell)
Sets the shell used to run the script. |
void | setTmpSuffix(String tmpSuffix)
Sets the suffix for the tmp file used to
contain the script.
|
protected void | writeScript()
Writes the script lines to a temp file. |
Parameters: notUsed not used
Throws: BuildException if called
Parameters: shell the shell to use (bash is default)
Parameters: shell the shell to use (bash is default)
Parameters: tmpSuffix the suffix to use