org.apache.tools.ant
public final class Diagnostics extends Object
Since: Ant 1.5
Method Summary | |
---|---|
static void | doReport(PrintStream out)
Print a report to the given stream. |
static boolean | isOptionalAvailable()
Check if optional tasks are available. |
static File[] | listLibraries()
return the list of jar files existing in ANT_HOME/lib
and that must have been picked up by Ant script. |
static void | main(String[] args)
main entry point for command line |
static void | validateVersion()
Check if core and optional implementation version do match. |
Parameters: out the stream to print the report to.
Returns: true if optional tasks are available.
Returns: the list of jar files existing in ant.home/lib or null if an error occurs.
Parameters: args command line arguments.
Throws: BuildException if the implementation version of optional tasks does not match the core implementation version.