File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes What is ANT (as in apache tomcat) ????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "What is ANT (as in apache tomcat) ?????" Watch "What is ANT (as in apache tomcat) ?????" New topic
Author

What is ANT (as in apache tomcat) ?????

Sanjeev Verma
Ranch Hand

Joined: Aug 24, 2000
Posts: 87
Dear Friends
can some one educate me on ANT. Orion application
server tutorial on EJB deployment says "For this
purpose, I have written an Ant build file that will
compile all the .java files and create the .jar, .war
and .ear files for us." I am not able to fathom out
what it means...any pointers???
Thanx in anticipation
Sanjeev
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Ant is a free Java build utility. It is part of the Jakarta project.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
See http://jakarta.apache.org/ant/index.html
Ant basically is an alternative to make.
hanumanth reddy
Ranch Hand

Joined: Jun 12, 2000
Posts: 118
Ant is a Java-based build tool. In theory, it is kind of like make, without make's wrinkles.
Hanumanth reddy http://www.cyberdosti.com

<a href="http://www.jobklub.com" target="_blank" rel="nofollow">http://www.jobklub.com</a><br /> 'Add Job To Life'
mohit joshi
Ranch Hand

Joined: Sep 23, 2000
Posts: 243
If you have a large project with code for web server and app server and lots of properties files etc, which you want to treat as a single entity for deployment, then Ant can be used to do that. I havent learned how to use it yet, though.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
It is definately worth the time to learn. I have moved all my projects over to Ant now, and no longer use the built-in build facilities of any IDEs, batch/script files or whatever.
There are two tools which have greatly improved my productivity using Java, and they are JUnit and Ant. Both are free and Open Source, and I would recommend anyone who wants to write good, reliable java code, fast, to spend a few days learning how to use them.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
le taylom
Ranch Hand

Joined: Dec 01, 2000
Posts: 44
I would agree, Ant is an excellent tool to use instead of built-in IDE make/build options. By configuring its XML based configuration file you can seamlessly integrate these procedures into your projects. IDE'S like JBuilder - which is a very good tool in itself - have Ant integration capabilities, so you can run it from within the IDE.
JUnit too is an excellent tool that must be used if you want to write bug-free efficient code. It is a unit testing utility that is so easy to use and so effective. Download and learn them today.
hanumanth reddy
Ranch Hand

Joined: Jun 12, 2000
Posts: 118
Ant can be used to build release on different platform .
Ant is completeley written in java which is another solotion for cross platform
Learning ant is easy you can master the ant within minutes.

hanumanth reddy
http://www.cyberdosti.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is ANT (as in apache tomcat) ?????