I hope we are both on the same page that assembler, like ant, is a
procedural language, while both Maven and SQL could be characterized as
non-procedural, a.k.a. declarative.
Ant is a good OS-independent shell, while Maven is "code comprehension"
tool, that also happens to be a superior build system. They are
different is this respect: one can use a wrench on the nails, but hammer
is a way more efficient. I argue that Maven is that hammer :)
Bob Aiello wrote:
um er - I don't agree with the characterization that Ant is
"Assembler"-like.
The term procedural might be a better choice, but I would prefer to not
get into a religious debate. I had shared a few of my experiences with
Ant and Maven in a couple of my articles on CM Crossroads
(www.cmcrossroads.com).
Here is one where I try to draw a distinction between Ant and Maven.
http://www.cmcrossroads.com/content/view/10027/174/
I am looking for a few writers to submit articles for CM Basics next
week. Writing about your practical experiences is an amazing way to
share best practices. (I will help you with the editing so don't worry
if you are new to writing :-)
Bob Aiello
Editor in Chief
CM Crossroads
email raiello [at] acm.org
http://www.linkedin.com/in/BobAiello
----- Original Message ----- From: "Oleg Gusakov"
<[EMAIL PROTECTED]>
To: "Maven Developers List" <[email protected]>
Sent: Friday, October 24, 2008 3:01 PM
Subject: Re: Could anyone give me some idea what is the difference
bwteen ant and maven?
Daniel,
The difference if that with Ant you write an Assembler-like program:
you can do a lot, but maintainability is like current economy - very
low. And here you always have to write what to do and how to do it,
like for <javac/> you have to tell it where the sources are, where
the output should go.
With Maven - you write a SQL statement: you don't tell it how to do
things, just say what needs to be done, and maven will figure out the
way to do it. If you compile java classes - you don't even have to
mention the compiler - Maven defalts will take care of that.
For examples - you can check the book: http://www.sonatype.com/book
I think that if there is more that one person working on a project -
Ant is a dead end for a build system.
Overall - please ask these kind of questions on the user list, this
one is mainly for developing maven itself.
dr2238 wrote:
I have knowledge on ant, but doesn't have any
knowledge on
maven. I heard other say ant is kind of procedural language ,
while maven
is an objected oriented language.
Is that true? Could anyone explain it to me a little bit? It
would be
great if you can show me some small examples to let me understand
what is
the difference between them.
thanks a lot for your help
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]