ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Parkinson <roger.parkinso...@gmail.com>
Subject Re: IvyDE and packager resolver
Date Mon, 31 Dec 2012 02:31:50 GMT
I can confirm IvyDE does work just fine, though I'm currently using an
older version:
Ivy 2.2.0 (2010092323230623)
IvyDE 2.1.0201008101807-RELEASE
I use to pull stuff from ivyroundup all the time.

Just in case it is a settings thing this is what I have:
<ivysettings>
    <property name="ivy.cache.dir" value="${user.home}/.ivy2" />
    <property name="roundup-repository" value="
http://ivyroundup.googlecode.com/svn/trunk" override="false" />

    <settings
            defaultResolver="libraries">

    </settings>
    <caches
        checkUpToDate="false"
        defaultCacheDir="${ivy.cache.dir}/cache" />

    <namespaces>
        <namespace name="maven2">
        </namespace>
    </namespaces>

    <resolvers>
        <chain name="libraries">
            <packager name="roundup"
buildRoot="${user.home}/.ivy2/packager/build"
resourceCache="${user.home}/.ivy2/packager/cache"
preserveBuildDirectories="false">
                <ivy
pattern="${roundup-repository}/repo/modules/[organisation]/[module]/[revision]/ivy.xml"/>
                <artifact
pattern="${roundup-repository}/repo/modules/[organisation]/[module]/[revision]/packager.xml"/>
            </packager>
        </chain>
    </resolvers>
</ivysettings>

I tend to have my settings project by project so to make the above work I
have a file in the project called ivysettings.xml
Then I go into project properties->Java Build Path and find your ivy
library (ie the reference to your ivy.xml file) and edit it
Pick the settings tab, enable project specific settings. In the ivy
settings path I put in this:
${workspace_loc:madura-date-time-google/ivysettings.xml}
(change the project name of course)
You can set it up for the whole workspace instead by window->preferences
ivy->settings and putting the location of the file into the ivy settings
path box.

Hope that helps
Roger

On Sat, Dec 29, 2012 at 11:47 AM, Archie Cobbs <archie@dellroad.org> wrote:

> I'm new to Eclipse and trying to get IvyDE working with Ivy's packager
> resolver. It doesn't seem to be working.
>
> IvyDE is unable to download artifacts for some reason, but the Ivy console
> doesn't show any explanation for the error except "null".
>
> Everything is fine (ivy.xml files are downloaded OK, etc.) until we get
> here...
>
> :: downloading artifacts ::
>          trying
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
>                 tried
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!guava.jar: null (116ms)
>          trying
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
>                 tried
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!guava.zip(javadoc): null
> (54ms)
>          trying
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
>                 tried
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!guava.zip(source): null
> (54ms)
>          trying
>
> http://ivyroundup.googlecode.com/svn/ndup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!jsr305.jar: null (55ms)
> WARN:   [FAILED     ] com.google.guava#guava;13.0!guava.jar: null (116ms)
> WARN: ==== ivyroundup-http: tried
> WARN:
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!guava.zip(javadoc): null
> (54ms)
> WARN: ==== ivyroundup-http: tried
> WARN:
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!guava.zip(source): null
> (54ms)
> WARN: ==== ivyroundup-http: tried
> WARN:
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> WARN:   [FAILED     ] com.google.guava#guava;13.0!jsr305.jar: null (55ms)
> WARN: ==== ivyroundup-http: tried
> WARN:
>
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/com.google.guava/guava/13.0/packager.xml
> ...
>
> However, the packager.xml file is there and can be downloaded manually.
>
> Does IvyDE support the packager resolver?
>
> Eclipse bulid ID: 20121004-1855
> IvyDE version: 2.2.0.beta1-201203282058-RELEASE
>
> Thanks,
> -Archie
>
> --
> Archie L. Cobbs
>



-- 
*Roger Parkinson*
Twitter <http://twitter.com/RogerParkinson> Blog<http://mrkimi01.blogspot.com/>
Web <http://sites.google.com/site/rogerparkinson35/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message