jitendrazaa.com
Creating custom ANT plugin or Task in Java
Tutorial to create custom Task in ANT with complete source code