This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Ant" Watch "Ant" New topic
Author

Ant

agrah upadhyay
Ranch Hand

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


<i>--Agrah Upadhyay--</i><br />Final Year B.Tech SCJP,SCWCD,SCBCD <br /> <br /><b>Now since the real test for any choice is having to make the same choice again,knowing full well what it might cost.</b>-Oracle
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 978
hi,

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

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant
 
Similar Threads
tiger beta
Ant?
java.lang.VerifyError
Problems with compiling a class importing from javax.comm
newbie