Take a look at the Cache Management section on the main concepts page:

http://ant.apache.org/ivy/history/latest-milestone/concept.html

Specifically, look at the subsection entitled "Change Management".

Scott

-----Original Message-----
From: Mike Quilleash [mailto:[email protected]] 
Sent: Thursday, May 13, 2010 7:59 AM
To: [email protected]
Subject: Refreshing ivy cache after changing a published version

Hi all,

I have an Ivy repository where we store all our 3rd party libraries.  One of 
these is a large C# UI component library that comprises 100+ DLLs.  In reality 
we only need about 10-15 of those DLLs but we sometimes need additional ones 
added as we use new functionality.  This isn't a version change as the version 
of the library we use doesn't change, we just add additional DLLs to an 
existing version.  If I just drop the relevant DLLs in the repository area and 
update the relevant ivy.xml.

But then when I try to build a project which depends on these new DLLs it fails 
because it doesn't realise I have changed the contents of an existing version 
(that version will already be in the local ivy cache) so it doesn't download 
the new files from the repository.

Is there any setting/command I can use to force Ivy to do a check of the 
ivy.xml descriptors in the repository and, if anything has changed, refresh 
that library.  We can do a clean of the ivy cache but it's a bit painful for 
developers who connect over the VPN, can take quite a while to re-downloaded 
everything.

I'm using ant 1.7.1 and ivy 2.1.0RC2.

Any suggestions appreciated.

Cheers.

Mike.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________

- --------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain confidential or privileged information. No representation is made on 
its accuracy or completeness of the information contained in this electronic 
message. Certain assumptions may have been made in the preparation of this 
material as at this date, and are subject to change without notice. If you are 
not the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this e-mail and any attachment(s) is strictly 
prohibited. Please reply to the sender at NextLabs Inc and destroy all copies 
of this message and any attachments from your system. 
======================================================================

Reply via email to