File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes need some information about Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "need some information about Ant " Watch "need some information about Ant " New topic

need some information about Ant

flying jordan

Joined: Aug 02, 2002
Posts: 22
I heard that "Ant" is good tool to do build, deploy ? Could someone give me the web site where I can learn and dwonload ? Is it free ? what's the advantage of using it ?
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi er flying,
Here's the site:
Apache ANT
Michael Morris
[ August 02, 2002: Message edited by: Michael Morris ]

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Greg Brouelette
Ranch Hand

Joined: Jan 23, 2002
Posts: 144
Yes it's free, and yes it's a great tool.
I currently have an ant build.xml file that cleans my build directory, compiles the code, builds the jar, deploys the jar and all the web files into the proper directory structure in WebSPhere, jars the EJBs, runs jetace on those EJBs, deploys the EJBs into WebSphere, bounces the WebSphere server to restart it with all the new code changes.
All I type is
ant all
I like it a lot.
[ August 02, 2002: Message edited by: Greg Brouelette ]

For a good Prime, call:<br />29819592777931214269172453467810429868925511217482600306406141434158089
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
flying jordan,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
JavaRanch published an Article about Ant a while back. It is pretty good - of course it was written by Thomas Paul - so what do you expect .

"JavaRanch, where the deer and the Certified play" - David O'Meara
Erik Hatcher
Ranch Hand

Joined: Jun 11, 2002
Posts: 111
One of the things I want to improve is the education about Ant's <property> task. The JavaRanch article is a great introduction, but I'd like to see folks use:

The 'location' attribute has a very important difference between just the regular 'value' attribute in that it assigns the absolute path of the directory to the property rather than just the string which may (and likely is) a relative path. This is critical for multi-level builds where a relative path in a sub-build could point to an undesired location.

Co-author of Lucene in Action
Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
Hi Flying Jordan (!)
If you have questions about Ant, you may consult the Jakarta forum, which Ant is part of.
I agree. Here's the link:
subject: need some information about Ant
jQuery in Action, 3rd edition