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 void |
doReport(java.io.PrintStream out,
int logLevel)
Print a report to the given stream.
|
static boolean |
isOptionalAvailable()
Deprecated.
Obsolete since Ant 1.8.2
|
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()
Deprecated.
Obsolete since Ant 1.8.2
|
protected static final java.lang.String ERROR_PROPERTY_ACCESS_BLOCKED
public static boolean isOptionalAvailable()
public static void validateVersion() throws BuildException
BuildException
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.public static void doReport(java.io.PrintStream out, int logLevel)
out
- the stream to print the report to.logLevel
- denotes the level of detail requested as one of
Project's MSG_* constants.