by, 02-19-2012 at 07:53 AM (570 Views)
Ant consists of built in and supportive diagnostic features. Internal state could be seen and printed out by usage of this ant –diagnostic. Code will be checking and printing these points.
- Ant run directory.
- All the available optional tasks.
- JVM system’s properties.
- The ant-*.jar versions & ant.jar version, which consist of an optional tasks.
- All jar file present in ANT_HOME/lib
- XML parser’s information
- Temp directory status.
- Current time zone.
Ant-diagnostic is considered as a good technique for checking if ant is installed. This is 1st step to self diagnose.