Friday, November 02, 2007

Ant vs Maven - Round 3


Not only you need some documentation to start but also to use as reference as you get more familiarized with the build mechanism.

Round three: Documentation
Both ant and maven, have good starting guides available on the web (here for ant, here and here for maven).

When you got started, you need more. That's where it gets nasty... Maybe i'm just dumb but this is mostly what i found for Maven documentation: http://maven.apache.org/guides/index.html and that was not enough for me to really build my environment fast enough.
Those chapters have a lot of XML descriptors but very few explanations, again Maven suppose that there are only a common list of scenarios and explain you those. If you need more or something a bit different you are on your own. Then went to check the sourcecode (Where is Waldo ? It took me a while to find the repository).
There is a free book available, it seems good but cannot unfortunately replace a reference guide.

On the ant side, the doc is explicit enough, of course the work to document ant is much simpler than documenting Maven since each task is clearly distinct from any other task and do minimal things. So i just keep looking at the descriptions of the tasks and can achieve what i want in a minimal amount of time.

That's a definitive +1 for ant... Even though it worths more than 1 point.

Maven 2 - Ant 2

0 comments: