ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Andersson <mail.mi...@gmail.com>
Subject Configuring a chain resolver with local file system and ssh resolver correctly
Date Fri, 11 Feb 2011 13:26:36 GMT
Hi

I've been struggling with configuring Ivy to get it working in a
similar way to maven install/deploy goals.

I've been doing this in Gradle where I have one task which publishes
to a SSH repo (deploy) and one task which publishes to a local file
system repo.

The main idea is that we want to be able to locally deploy jars which
Ivy will pick up if their timestamp is newer than that of the artifact
in the SSH repo.

The problem now is that as soon as there is an artifact in the Gradle
cache with ivy xml files( ivy-xyz-SNAPSHOT.xml and a
artifactname-xyz-SNAPSHOT.xml) it starts to skip our local file system
repo and only fetch the artifact from the SSH repo. Kind of like it
remembers where it got it from and always uses the same repo.

We have configured both the file system and SSH repos for changing
revision like this:
checkmodified=true
changingPattern=".*SNAPSHOT.*"
latest="latest-time"
latestStrategy = new LatestTimeStrategy()

many thanks,
 Micke

Mime
View raw message