| |
|
| java.lang.Object org.apache.tools.ant.Diagnostics
Diagnostics | final public class Diagnostics (Code) | | 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...
since: Ant 1.5 |
Method Summary | |
public static void | doReport(PrintStream out) Print a report to the given stream. | public static boolean | isOptionalAvailable() Check if optional tasks are available. | public static File[] | listLibraries() return the list of jar files existing in ANT_HOME/lib
and that must have been picked up by Ant script. | public static void | main(String[] args) | public static void | validateVersion() Check if core and optional implementation version do match. |
ERROR_PROPERTY_ACCESS_BLOCKED | final protected static String ERROR_PROPERTY_ACCESS_BLOCKED(Code) | | The error text when a security manager blocks access to a property.
|
doReport | public static void doReport(PrintStream out)(Code) | | Print a report to the given stream.
Parameters: out - the stream to print the report to. |
isOptionalAvailable | public static boolean isOptionalAvailable()(Code) | | Check if optional tasks are available. Not that it does not check
for implementation version. Use validateVersion() for this.
true if optional tasks are available. |
listLibraries | public static File[] listLibraries()(Code) | | return the list of jar files existing in ANT_HOME/lib
and that must have been picked up by Ant script.
the list of jar files existing in ant.home/lib ornull if an error occurs. |
main | public static void main(String[] args)(Code) | | main entry point for command line
Parameters: args - command line arguments. |
validateVersion | public static void validateVersion() throws BuildException(Code) | | Check if core and optional implementation version do match.
throws: BuildException - if the implementation version of optional tasksdoes not match the core implementation version. |
|
|
|