| org.eclipse.pde.build.IAntScript
All known Subclasses: org.eclipse.pde.internal.build.ant.AntScript,
IAntScript | public interface IAntScript (Code) | | Interface providing helper methods to produce Ant scripts.
It contains convenience methods for creating the XML elements
required for Ant scripts. See the Ant
website for more details on Ant scripts and the particular Ant tasks.
This interface is not intended to be implemented by clients.
|
print | public void print(String string)(Code) | | Print the given string to the Ant script.
Parameters: string - the string to print. |
printAntCallTask | public void printAntCallTask(String target, boolean inheritAll, Map params)(Code) | | Print an ant call task as defined by AntCall}.
Parameters: target - the target executed by the call. This value can not be null . Parameters: inheritAll - If true, pass all properties to the new Ant project. Parameters: params - Specifies as key / value pairs, the properties to set before running the specified target. This value can be null |
printAttribute | public void printAttribute(String name, String value, boolean mandatory)(Code) | | Print an XML attribute. name=value .
Parameters: name - the name of the attribute to print. This value can not be null . Parameters: value - the name of the value to print. This value can be null . Parameters: mandatory - indicate whether or not the value is mandatory. If the value is null and the attribute is mandatory, the printed value will be "". |
printComment | public void printComment(String comment)(Code) | | Print the given comment to the Ant script folled by a carriage-return.
Parameters: comment - the comment to print. |
printEndTag | public void printEndTag(String endTag)(Code) | | Print tagName as an xml end tag (</tagName>).
Parameters: endTag - the tag to print. |
printStartTag | public void printStartTag(String tagName)(Code) | | Print tagName as an xml begin tag (<tagName>).
Parameters: tagName - the tag to print. |
printTabs | public void printTabs()(Code) | | Print as many tabs as current nesting level requires
|
printTargetDeclaration | public void printTargetDeclaration(String name, String depends, String ifClause, String unlessClause, String description)(Code) | | Print a target declaration. See Ant's targets.
Parameters: name - the name of the target. This value can not be null . Parameters: depends - a comma-separated list of names of targets on which this target depends. This value can be null . Parameters: ifClause - the name of the property that must be set in order for this target to execute. This value can be null Parameters: unlessClause - the name of the property that must not be set in order for this target to execute. This value can be null Parameters: description - a short description of this target's function. This value can be null |
printTargetEnd | public void printTargetEnd()(Code) | | Print the end tag for a target declaration.
|
println | public void println(String string)(Code) | | Print the given string followed by a carriage-return.
Parameters: string - the string to print. |
println | public void println()(Code) | | Print a empty line.
|
|
|