If there is Maven does it at all make sense to learn and use Ant?
+1
A:
yes, two main reasons:
- Ant is the underlining engine that makes maven work
- Ant unlike Maven is straightforward and simple - learning the basics is a matter of minutes not hours.
two minor reasons:
- A lot of other projects use Ant and you might need to tinker with their build process.
- What happens when you need to extend Maven, from what I know this can be done via extending Ant
KingInk
2009-04-13 20:33:18
re main #1: see section "What Maven is not" at http://maven.apache.org/what-is-maven.html . You can use the ant plugin (e.g. ant:ant to create a build.xml) but otherwise, maven is exclusive of antre minor #2: or by writing maven plugins. using ant tasks in-line works too but is more imperative
whaley
2009-04-14 11:29:04
One correction - maven 2 is not built on Ant, this was true for maven 1 only
David Rabinowitz
2009-04-14 15:06:08
you learn a new thing everyday, thanks guys
KingInk
2009-04-20 18:46:21
actually it wasn't true for m1 either.. it's always been a separate codebase that Jason started working on as part of the Jakarta project.
Brian Fox
2009-04-26 01:26:42
separate codebase as in a fork or separate codebase as new code?I might be wrong but I always believed one can extend maven with ant tasks and so I thought they are using more or less the code.
KingInk
2009-05-13 20:48:40