Drat. I saw this topic name from the 'main' page, and thought someone was announcing a tutorial.
Most people give the advice of looking at a bunch of ant build scripts to get the idea, but unfortunately, they are all either too simple, or WAY too complex for a beginner like me.
Matthew Phillips
Ranch Hand
Joined: Mar 09, 2001
Posts: 2676
posted
0
That is the problem that I am having. My wife really doesn't want me to buy another book, but I may have to put my foot down (so she can step on it ).
Thomas Paul wrote an article for the newsletter. See his post in MO on Feb 25. It has the link to his article in the temp directory. Junilu
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
Originally posted by Junilu Lacar: Thomas Paul wrote an article for the newsletter. See his post in MO on Feb 25. It has the link to his article in the temp directory. Junilu
Of course, until published only bartenders and sheriffs can see it. Meanwhile, JavaReport had an article in their October 2001 issue and JavaDevelopersJournal had an article in their June 2001 issue.
Originally posted by Junilu Lacar: Thomas Paul wrote an article for the newsletter. See his post in MO on Feb 25. It has the link to his article in the temp directory. Junilu
I wrote one, but it is too specific for our co. I need make it more general, then put in my FAQ collection. Unfortunately, I don't have the time for now. However, I found Log4J project's build.xml is simple enough for beginner to digest, and complete enough to learn a lot of ant. Just a suggestion. Need Java real project experience? Join our project team here!
Narasimhan Sethuraman
Greenhorn
Joined: Dec 18, 2001
Posts: 3
posted
0
You Can download Ant Document from Jakarta site. It is pretty good.
Here's a very good introduction from Builder.com. In case you haven't known yet, Builder.com is a newly-launced site for developers by TechRepublic. Also, don't forget to read the sequel which is currently featured at the home page. Ex Animo Java! -- Val
"Knowledge is power, but enthusiasm is the key." -- Lavern Barn
Sjoerd Reitsma
Greenhorn
Joined: Mar 06, 2002
Posts: 5
posted
0
Ant 101 from a junior programmer: I downloaded Ant from Jakarta and set the ANT_HOME variable and added ANT_HOME\bin to the path. Then I started reading the documentation in the manual (\docs\manual\index.html). I took the build.xml example from the section Using Ant in the manual and started playing with it. When it dawned on me how it worked, I kept adding more and more tasks. I was amazed at the power and speed of Ant. The build.xml is basically a lists of tasks you CAN do (compile, copy, create a war file, etc.), combined with target directives which specify which tasks you WILL do with a particular target setting. The first time I used Ant I just used someone else's build.xml and changed some variables. It did the job, but I did not really understand how it worked. The second time I built my own build file, and then I was able to do much more with it, because I had grasped the idea behind it. Enjoy Ant! It can save you a lot of time.
SCJP, SCJD, SCEA 5 "The only rules that really matter are these: what a man can do and what a man can't do." Captain Jack Sparrow
Nicholas Lesiecki
Greenhorn
Joined: Mar 12, 2002
Posts: 13
posted
0
As several people have mentioned, the Ant Documentation is very good. This week's book giveaway features Java Tools for Extreme Programming, which is all about integrating Ant and other open source tools into real projects. Also, Manning has a book in production on Ant, authored by Steve Loughran and Erik Hatcher. I've gotten a sneak peek at it, and if you need more information than JTFXP can provide, it should be the definitive reference. Cheers, Nicholas Lesiecki
Principal Software Engineer<br />eBlox, Inc.<br />(520) 615-9345 x104<br />Check out my new book!:<br /><a href="http://www.amazon.com/exec/obidos/ASIN/047120708X/" target="_blank" rel="nofollow"><br />Java Tools for Extreme Programming: Mastering Open Source Tools, including Ant, JUnit, and Cactus<br /></a><br /><a href="http://www.rickhightower.com/JavaXPToolkit/" target="_blank" rel="nofollow">More Info</a><br /> <br /><br />Check out my article on <a href="http://www-106.ibm.com/developerworks/java/?loc=dwmain" target="_blank" rel="nofollow">AspectJ.</a>
Tim Voet
Ranch Hand
Joined: Jan 30, 2002
Posts: 30
posted
0
Thanks for the links everyone, i started reading the ant documentation 2 weeks ago.....and neede some more source, to confirm that i was actually understanding what was going on... but i do have another question Nicholas, do you know of any good links for JUnit, and Cactus??? if you know of some, please let me know... thanks
---<br />Nothing is impossible, only improbable !!!
Matthew Phillips
Ranch Hand
Joined: Mar 09, 2001
Posts: 2676
posted
0
The ant documentation is very good, but it is not a tutorial. I was looking for something more along those lines. I was looking for the "quick fix" for learning ant. I will check out some of the links you have posted. Thanks.