Methods Summary |
---|
public void | addText(java.lang.String text)Set 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();
|
public void | execute()Run the script using the helper object.
helper.getScriptRunner().executeScript("ANT");
|
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 | setSetBeans(boolean setBeans)Set the setbeans attribute.
If this is true, <script> will create variables in the
script instance for all
properties, targets and references of the current project.
It this is false, only the project and self variables will
be set.
The default is true.
helper.setSetBeans(setBeans);
|
public void | setSrc(java.lang.String fileName)Load the script from an external file ; optional.
helper.setSrc(new File(fileName));
|