Methods Summary |
---|
public void | addText(java.lang.String text)The script text.
helper.addText(text);
|
public org.apache.tools.ant.types.Path | createClasspath()Classpath to be used when searching for classes and resources.
return helper.createClasspath();
|
protected void | executeScript(java.lang.String execName)Run a script
getRunner().executeScript(execName);
|
public org.apache.tools.ant.util.ScriptRunnerBase | getRunner()Get our script runner
initScriptRunner();
return runner;
|
protected void | initScriptRunner()Initialize the script runner. Calls this before running the system
if (runner != null) {
return;
}
helper.setProjectComponent(this);
runner = helper.getScriptRunner();
|
public void | setClasspath(org.apache.tools.ant.types.Path classpath)Set the classpath to be used when searching for classes and resources.
helper.setClasspath(classpath);
|
public void | setClasspathRef(org.apache.tools.ant.types.Reference r)Set the classpath by reference.
helper.setClasspathRef(r);
|
public void | setLanguage(java.lang.String language)Defines the language (required).
helper.setLanguage(language);
|
public void | setManager(java.lang.String manager)Defines the manager.
helper.setManager(manager);
|
public void | setProject(org.apache.tools.ant.Project project)Set the project.
super.setProject(project);
helper.setProjectComponent(this);
|
public void | setSrc(java.io.File file)Load the script from an external file ; optional.
helper.setSrc(file);
|