|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.Diagnostics
public final class Diagnostics
A little diagnostic helper that output some information that may help in support. It should quickly give correct information about the jar existing in ant.home/lib and the jar versions...
Field Summary | |
---|---|
protected static java.lang.String |
ERROR_PROPERTY_ACCESS_BLOCKED
The error text when a security manager blocks access to a property. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String ERROR_PROPERTY_ACCESS_BLOCKED
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |