Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the diff between ANT and MAVEN?

Answer Posted / vijaya

Apache Ant
•Ant doesn't have formal conventions like a common project
directory structure or default behavior. You have to tell
Ant exactly where to find the source and where to put the
output. Informal conventions have emerged over time, but
they haven't been codified into the product.

•Ant is procedural. You have to tell Ant exactly what to do
and when to do it. You have to tell it to compile, then
copy, then compress.

•Ant doesn't have a lifecycle. You have to define goals and
goal dependencies. You have to attach a sequence of tasks
to each goal manually.

Apache Maven
•Maven has conventions. It knows where your source code is
because you followed the convention. Maven's Compiler
plugin put the bytecode in target/classes, and it produces
a JAR file in target.

•Maven is declarative. All you had to do was create a
pom.xml file and put your source in the default directory.
Maven took care of the rest.

•Maven has a lifecycle which was invoked when you executed
mvn install. This command told Maven to execute a series of
sequential lifecycle phases until it reached the install
lifecycle phase. As a side-effect of this journey through
the lifecycle, Maven executed a number of default plugin
goals which did things like compile and create a JAR.

Is This Answer Correct ?    45 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you convert QTP 8.2 scripts to QTP 9.2. Please give some inputs ASAP.

2782


why script is client dependant.

2152


why script is client dependant.

2396


how can we move to the next column in excel sheet in file operation using descriptive programming inQTP?

2194


What is the procedure for installing USP-35 on my compure?

2071


why do u need an ANT?

2439


how do invoke OS task through ANT?

2654


how can i type the text message in compose box in yahoo mail using descriptive programming in QTP?

2066


database acl level has manager access.his name is listed in author and Reader fields. but he didn't sea a documents what is the reason?

2270


Someone who protect my excel file, m using ms office 2007 and windows 7 operating system, pls help me, how can i unprotect sheet

2248


can I name the build.xml with any name? if so how can I invoke ?

2498


a="10.20.30.1" replace 1 with 45 in python using reg ex

1293


I have installed QTP version 9.0. I have installed Mozilla firefox version 2.0. But QTP "Record and Run settings" in WEB tab shows FIREFOX 1.5 in drop down to run session begins. So QTP does not record anything which I type in firefox. How can i recognise firefox 2.0 and how can i update browser version in QTP?

2091


Need a batch file or VB script to delete old (more than 90datys) roaming profiles

2261


If we add regular expressions to a script recorded in QTP, will it effect the performance of the script?

2142