Java ANT Projects

Java ANT Project 1

Java ANT Examples


What is Apache Ivy?

Previous Home Next

The Ivy is a tool for managing a project dependencies and it manage recording, tracking,resolving and reporting.

The main characterized of Ivy :

  1. Flexibility and configurability: Ivy is essentially process agnostic and is not tied to any methodology or structure. Instead it provides the necessary flexibility and configurability to be adapted to a broad range of dependency management and build processes.

  2. Tight Integration with Apache Ant : While available as a standalone tool, Ivy works particularly well with Apache Ant providing a number of powerful Ant tasks ranging from dependency resolution to dependency reporting and publication.

    Ivy is the Open source and released under a very permissive to Apache License.

    It contain a lot of powerful features, the most popular and most popularity of Ivy is useful being it's flexibility,integration with ant and it's most strong transitive dependencies management engine.

    The transitive dependencies management is a features which lets you can get dependencies of your dependencies. and transitivity. Ivy using to need to find meta data about your modules, then it's using for Ivy file, if you want to find the meta data file your dependencies artifacts (usually jars).

You using Apache Ivy then
  1. firstly you make sure you have ant 1.6.0 or greater and a jdk properly installed.
  2. Then copy this build file in an empty directory on your local file system (and you make sure you name it build .xml).
  3. Open a console in this directory and run "ant " that's it.

In this tutorial you will see one of the simplest ways to use Ivy. To crate the Ivy.xml file. the Ivy.xml file used to describes the dependencies of the project on other libraries.

The Apache Ivy is working for Apache . an Ivy is a dependency manager and appears to be flavors of the month in some circles and claim to less complicated.

<ivy-module version="2.0">
  <info organisation="org.apache" module="hello-Apache-ivy"/>
      <dependency org="com-lang" name="com-lang" rev="2.0"/>
       <dependency org="com-cli" name="com-cli" rev="1.0"/>

Previous Home Next