Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

best Ant tutorial / quickstart? [closed]

Tags:

java

build

ant

After having avoided learning ant for far too long (IDEs and copy&paste make it easy for simple tasks) I now see myself forced to get into shape ASAP. Working on a big-ish project, it has become increasingly difficult to know what to copy and where to paste and not to break things along the way.

A search for ant tutorials and quickstarts yields literally thousands of results, so please share your experience - which one gets to the point fast and still is comprehensive?

I'm secretly hoping for something like the glorious hginit tutorial. Does such a thing exist for ant?

EDIT : Looks like a big win for the official docs so far. Makes it quite difficult to pick an answer to accept as they are all so similar.
I have found a decent tutorial going beyond the basics of the official HelloWorld, featuring JUnit testing, reports and SVN checkouts here. But after completing I still have to turn to the docs for more.

like image 750
kostja Avatar asked Jan 26 '11 16:01

kostja


1 Answers

http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html is probably your best bet. It covers the basics enough to get your feet wet, then after that, you are really going to want to just dive into the manual http://ant.apache.org/manual/.

The problem you my face is that Ant is a script language (as opposed to a tool like mercurial), so it is more complicated and if you are not careful, you are likely to make a mess in the process. Not saying it's a bad tool, just don't pound out a ton of Ant script without reflecting on what you're doing every now and then.

like image 144
ideally_world Avatar answered Oct 01 '22 05:10

ideally_world