wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Ant" Watch "Ant" New topic


agrah upadhyay
Ranch Hand

Joined: Sep 01, 2005
Posts: 579
what is Ant and what is JUnit?Please tell me in short.
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979

Ant is a built tool...

You may have done things like creating a jar...war..deploying the war...cleaning your classes...compiling your classes.. all manually...

go to command prompt..do individually......

and you need to go through this process everytime...

But if you are using ANT..you can create a xml file called build file..

where you can write your tasks..(like the one i mentioned above)

and execute these tasks...individually or any combinations of the tasks..

So at one go..you can compile,jar,war,deploy an application in a server..

Hope you got it...

Regarding Junit..its a testing framework....used for unit testing..

Junit: http://junit.org
Ant: http://ant.apache.org

Don't get me started about those stupid light bulbs.
subject: Ant
Similar Threads
Problems with compiling a class importing from javax.comm
tiger beta