org.apache.tools.ant.taskdefs.optional
public class Script extends Task
UNKNOWN: name="script"
Method Summary | |
---|---|
void | addText(String text)
Set the script text.
|
void | execute()
Do the work.
|
void | setLanguage(String language)
Defines the language (required).
|
void | setSrc(String fileName)
Load the script from an external file ; optional.
|
Parameters: text a component of the script text to be added.
Throws: BuildException if something goes wrong with the build
Parameters: language the scripting language name for the script.
Parameters: fileName the name of the file containing the script source.