public final class Diagnostics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ERROR_PROPERTY_ACCESS_BLOCKED
The error text when a security manager blocks access to a property.
|
Modifier and Type | Method and Description |
---|---|
static void |
doReport(java.io.PrintStream out)
Print a report to the given stream.
|
static boolean |
isOptionalAvailable()
Check if optional tasks are available.
|
static java.io.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(java.lang.String[] args)
main entry point for command line
|
static void |
validateVersion()
Check if core and optional implementation version do match.
|
protected static final java.lang.String ERROR_PROPERTY_ACCESS_BLOCKED
public static boolean isOptionalAvailable()
public static void validateVersion() throws BuildException
BuildException
- if the implementation version of optional tasks
does not match the core implementation version.public static java.io.File[] listLibraries()
public static void main(java.lang.String[] args)
args
- command line arguments.public static void doReport(java.io.PrintStream out)
out
- the stream to print the report to.