ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Problem with SSH Resolver
Date Thu, 24 Jan 2013 22:57:59 GMT
Do you see more information when you run ant in verbose mode (-v) ?

Maarten



________________________________
 From: Bill Moo <cppsysdev@gmail.com>
To: ivy-user@ant.apache.org 
Sent: Wednesday, January 9, 2013 12:26 PM
Subject: Problem with SSH Resolver
 
Hello List.

I am taking my first tentative steps into using Ivy (2.3.0-rc2) and
want to configure a resolver to access an Amazon Could machine where I
want to store my dependencies. However this does not appear to be
working although the output implies that it should.

This is my ivysettings.xml file :

<?xml version="1.0" encoding="UTF-8"?>
<ivysettings>
    <settings defaultResolver="default-chain"/>
    <resolvers>
        <chain name="default-chain">
            <ssh keyFile="${user.home}/AmazonLinux.pem" host="${HOST}" user="${USER}">
                <artifact pattern="ssh://user:${USER}@${HOST}/var/jars/[artifact]-[revision].[ext]"
/>
            </ssh>
            <filesystem name="libraries">
                <artifact pattern="${user.home}/builds/[artifact]-[revision].[ext]"/>
            </filesystem>
        </chain>
    </resolvers>
</ivysettings>

When I do a build I get :

    ---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]         module not found: apache#activemq-all;5.5.1
[ivy:retrieve]     ==== null: tried
[ivy:retrieve]       -- artifact apache#activemq-all;5.5.1!activemq-all.jar:
[ivy:retrieve]     
ssh://user:ubuntu@name-of-site-removed.com/var/jars/activemq-all-5.5.1.jar
[ivy:retrieve]     ==== libraries: tried
[ivy:retrieve]       -- artifact apache#activemq-all;5.5.1!activemq-all.jar:
[ivy:retrieve]       /home/bill/builds/activemq-all-5.5.1.jar
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         :: apache#activemq-all;5.5.1: not found
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

It would be fair to say that I don't have a clue as to where to start.
Is this a server Ubuntu (sudo) issue? I can't see what, if anything,
is wrong with my XML, so I would really appreciate your thoughts on
this as I am ver keen to get this to work.

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