File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help, Apache Ant for Dummies! (Lowest level most dummed down guide)

 
Amaru Shakur
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all i was wondering where i could find the most dummed down tutorial for using apache ant (or the best/ most basic one, to take someone from little to no experience who doesnt really know how java works, i just know write code and to learn apache ant).

heres alittle background on me. I have been programing for 6 years in java and until 1 month ago it was all in textpad or something similiar and it was all in one folder with a main method in one class. now im using eclipse and working in the ant world (much better than compiling everything by hand like i did in textpad or drJava). However i have little to no experience what is happening other than whats in the .java file. I write almost anything but im not sure how the jvm works or what exactly a .class does, ect. so if there was a good thing about how java works on your machine or what turns into what, like from high level java code to byte code, to jvm code, to machine code (i have no clue)) thats also a book i should buy.

i checked out their(apache) documentation and it wasn't bad, but i was looking for something a bit more hands on. like something where i could follow it and build.xmls (the ant files as i go along and learn how references work ect)

generally speaking the For dummies book have never been too hard for me but i doubt someone would write one for Apache Ant. (maybe some 3rd party wiki or some developer has something basic? or is their documentation the lowest level there is)?

*****Long story short if i were to go to borders or amazon what kind of book is the closest to a click by click line by line dummies guide for someone who wants to learn ant? thank you
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I swear by Java Development With Ant. It is a little outdated, but still an excellent introduction and reference.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tupac,
Welcome to JavaRanch!

I think Ant in Action is a good title for beginners. It's not "dumbed down" in that it doesn't assume the reader is a fool. But it does explain everything clearly and step-by-step with plenty of examples you can just copy in and run. See my JavaRanch review for more details.

It's also a current book and addresses possible issues/gotchas with Ant 1.7 (the current version.) While I like the book Peter recommended, it doesn't have this latest information.
 
Anirudh Vyas
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look for Maven in Action coming soon! Maven is a better tool than Ant.

Regards
Vyas, Anirudh
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maven is a better tool than Ant.

That, of course, is a highly contentious statement. It should be prefixed by "I think that ..." Many people who like Ant dislike Maven.
[ July 18, 2008: Message edited by: Ulf Dittmer ]
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Ulf here. I have been using Ant for a long time now and i just started using Maven for some of my sample applications. I don't yet hate Maven , but i do see that both these tools, though are used for building applications, are very different from each other.
 
Joe Harry
Ranch Hand
Posts: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess Mavan internally uses ANT runtime for build purposes. I started using Maven and to tell you, it is really awesome.
 
Anirudh Vyas
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf et. al,

I apologize, i was merely stating my opinion, you are right, i should have added "I think".

Regards
Vyas, Anirudh
 
Amaru Shakur
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks alot all, the help was appreciated.
and sadly im stuck with ant because thats what everyone uses and i dont think they would want me to switch half way through a project to Maven.
 
Paul Clapham
Sheriff
Pie
Posts: 20188
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Tupac Shakur", please check your private messages for an important administrative matter.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic