File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Ivy: when to use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Ivy: when to use?" Watch "Ivy: when to use?" New topic
Author

Ivy: when to use?

surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Hello Partners.
I've used Ant and Maven build tools before, and I like dependency management mechanism of maven which seems like gives you all you need while Ant provides lightweight building capabilities.
When should I use Ivy? It looks like extension of Ant for dependency support.
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Howdy Surlac,
Well think of Ivy as a plugin for ant that provides the automatic dependency management capabilities to the simple Ant tool. Now the question as to when to use it totally depends on your requirements. Maven is a project management tool , dependency management is just one of the module of Maven. Maven provides many other modules and functionalities that aid in the management of a project. If your project is already running on Ant and your tired of handling the dependencies manually but you don't want the over-head of configuring the other modules of maven , then Ivy is your best solution. For ivy you just have to add an ivy.xml file to handle and download the artifacts. Maven requires a lot of other things and changes in the project before you can actually benefit from it.


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Thanks Saif! This seems like a complete and full answer to my question. So if I will need to upgrade some of my Ant based projects, I will definitely go with Ivy, otherwise I'll use Maven.
 
jQuery in Action, 2nd edition
 
subject: Ivy: when to use?
 
Similar Threads
Ant vs Maven newbie question
The best way to break a fundamental principle of Maven
How to use maven for the existed project
How to mavenize a project
[Maven] Customize Project Structure