ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Grenyer" <paul.gren...@gmail.com>
Subject Re: How to use Apache ivy to resolve dependency with multiple files?
Date Sun, 07 Mar 2010 20:10:37 GMT
Hi

Have a look at Java Dependency Management Part II here: paulgrenyer.net.

Paul
------Original Message------
From: antipolizay@inbox.ru
To: ivy-user@ant.apache.org
ReplyTo: ivy-user@ant.apache.org
Subject: How to use Apache ivy to resolve dependency with multiple files?
Sent: 7 Mar 2010 20:06

Here is my ivy.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <ivy-module version="2.0">
    ...
    <dependencies>
        <dependency org="spring" name="richclient" rev="1.1.0"/>
    </dependencies>
    </ivy-module>


And ivy-settings.xml:

<ivysettings>

    <property name="ivy.local.default.root"             value="/home/---/dev/Java/_libraries/_ivy"
override="false"/>
    <property name="ivy.local.default.ivy.pattern"      value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
override="false"/>
    <property name="ivy.local.default.artifact.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
override="false"/>
    <resolvers>
        <filesystem name="local">
            <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
            <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"
/>
        </filesystem>
    </resolvers>
</ivysettings>

Ivy try to find
/home/---/dev/Java/_libraries/_ivy/spring/richclient/1.1.0/jars/richclient.jar

And here is the problem. Library has 4 jar files.

How to include all jars in project from one dependency in ivy.xml?

Thx

Mime
View raw message