I
I
Igor Alexandrovich2014-08-02 14:07:44
Java
Igor Alexandrovich, 2014-08-02 14:07:44

How does antivy work?

Hello.
When I specify this line in ivy.xml

<dependency name="primefaces" org="org.primefaces" rev="4.0" />

ivy downloads this component by itself? Or does it need to be specified in the xml configuration, downloaded and copied somewhere yourself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Lopatin, 2014-08-03
@lorus

Ivy downloads himself. If you know where to download. To do this, you need to specify the resolver in ivysettingx.xml. And, of course, you need to put a command in build.xml that initiates the download.
In general, all dependency resolution and assembly instructions must be present explicitly. Ivy only allows you to automate the process of managing dependencies - and nothing more. If you don't like this approach, then use Maven instead of Ant+Ivy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question