This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sanjeev Verma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ant is a free Java build utility. It is part of the Jakarta project.
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See http://jakarta.apache.org/ant/index.html
Ant basically is an alternative to make.
 
hanumanth reddy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
mohit joshi
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
le taylom
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic