Ant is a build tool based on java that provides better support in development of java applications. The applications developed by using the ant build tool resolves various cross platform issues. All the java projects at Apache projects and and many other Open Source Java projects uses ant as the build tool. Ant is used in order to perform various task such compilation of java source code files, build your deployment JAR and WAR files, unit-test code and create projects javadoc documentation.
A lot of new features are added to ant 1.6.0, most of
them support for XML namespaces having new concept of Ant libraries that allows
of using namespaces in order to avoid name clashes of custom tasks.
Benefits of Ant
Recommend the tutorial