Fixed erroneous example of Ant target using the "java" task.
Fixes and updates to API documentation.