ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject RE: how to retrieve artifact?
Date Wed, 20 Feb 2008 01:46:25 GMT
> -----Original Message-----
> From: Neil Lott []
> Sent: Tuesday, February 19, 2008 5:33 PM
> To: Ivy User User
> Subject: how to retrieve artifact?
> I have a module that publishes two artifacts to a local repository.
> I'd like to deliver those to two different deployment directories.
> How do I have an ant property set with their location in ivy's cache
> so i can copy them to where I need to?

Have you tried using <ivy:publish> and specifying different resolvers
(which you defined in your ivysettings.xml file)  ?

Alternatively... in my case, I prefer not to rely on ivy's cache.  I use
a local filesystem resolver and publish every artifact there as soon as
it is built, then for central staging I use <ivy:install> to install it
in the resolver of my choice.   This might seem a little paranoid, but
since I don't control or totally understand the internals of ivy cache,
I try not to rely on it more than necessary, and I clean it after every
build.  Let ivy use its cache for its own purposes, and I use my local
repository for my own needs.

This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.

View raw message