ivy install on ubuntu

Java: Install OpenJDK, Ant & Ivy on Ubuntu Linux

Java OpenJDK, Ant, and Ivy are common developer tools for building Java software.

Java

To install Java:
<code id="mf6"><kbd id="mf7" class="input">  apt-get install openjdk-6-jdk
  apt-get install openjdk-6-jre-headless
  apt-get install openjdk-6-jre-lib
</kbd></code>
Java will be installed here:
<code id="mf10"><samp id="mf11" class="output">  /usr/lib/jvm/java-6-openjdk<br /></samp></code>

Ant

To install Ant:
<code id="mf15"><kbd id="mf16" class="input">  apt-get install ant<br />  apt-get install ant-doc<br />  apt-get install ant-optional<br /></kbd></code>
Ant will be installed here:
<code id="mf19"><samp id="mf20" class="output">  /usr/bin/ant<br /></samp></code>

Ivy

To install Ivy:
<code id="mf24"><kbd id="mf25" class="input">  apt-get install ivy<br />  apt-get install ivy-doc<br /></kbd></code>
Ivy will be installed here:
<code id="mf28"><samp id="mf29" class="output">  /usr/share/java/ivy.jar<br /></samp></code>




Features


Apache Ivy™ is a very powerful dependency manager oriented toward Java™ dependency management, even though it could be used to manage dependencies of any kind.

If you don't see why you should use a dependency manager at all, or have any question concerning Apache Ivy in general, have a look at the FAQ and at the Mailing lists.

Integrated with Apache Ant™

Of course, Aache Ivy is integrated with the most popular build management system for Java projects. But the integration goes way beyond common Apache Ant integration. Indeed Apache Ivy has been designed with Apache Ant integration and design principles in mind. If you have Apache Ant skills, you already have Apache Ivy skills! The plugin mechanism in Apache Ivy follows the same design as Apache Ant, you will find macrodef and files import in Apache Ivy configuration, many things Apache Ant users are already familiar with

And since Apache Ivy is a subproject of Apache Ant, we even share the same development community!

Simple to use

For simple cases, Apache Ivy is easy to use. Declare your dependencies, and that's all. See the quick start tutorial to check yourself, it should take less than 5 minutes!

Apache Ivy can therefore be used to bring the dependency management feature of Apache Maven™ to Apache Ant build files, for those of you who already use Apache Ant and who do not want to setup an Apache Maven project. But Apache Ivy does not stop there, it provides many more great features!



原文地址:https://www.cnblogs.com/lexus/p/2206726.html