Tuesday, 5 April 2016

What Can Ant Do ?



Functions of Ant
  • Get source code from version control systems (like CVS, SVN, Perforce, ClearCase etc.)
  • Compile source code
  • Run unit tests (JUnit3, TestNG etc.)
  • Package compiled code and resources (jar, war, ear, tar, zip etc.)

Ant can do much more...
  • Ant comes with over 80 core tasks, and 60 optional tasks
  • There are over 100 third-party tools and tasks written for Ant
  • Ant extensions can be easily written for any unique problem
  • Ant can handle dependencies between targets.

Ant vs. IDE
Can't we use IDE ?
  • IDE's are hard to automate
  • IDE's are harder to setup
  • IDE's are not ubiquitous
  • Not everyone likes the same IDE
  • All IDE's provide Ant integration, some even use Ant internally
  • Ant is the least common denominator, it can be relied upon to work in all scenarios

No comments:

Post a Comment

Note: only a member of this blog may post a comment.