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
How can you convert QTP 8.2 scripts to QTP 9.2. Please give some inputs ASAP.
why script is client dependant.
why script is client dependant.
how can we move to the next column in excel sheet in file operation using descriptive programming inQTP?
What is the procedure for installing USP-35 on my compure?
why do u need an ANT?
how do invoke OS task through ANT?
how can i type the text message in compose box in yahoo mail using descriptive programming in QTP?
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?
Someone who protect my excel file, m using ms office 2007 and windows 7 operating system, pls help me, how can i unprotect sheet
can I name the build.xml with any name? if so how can I invoke ?
a="10.20.30.1" replace 1 with 45 in python using reg ex
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?
Need a batch file or VB script to delete old (more than 90datys) roaming profiles
If we add regular expressions to a script recorded in QTP, will it effect the performance of the script?