ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederic Dernbach" <fredatw...@free.fr>
Subject RE: Cache and version numbers
Date Thu, 04 Oct 2007 11:59:27 GMT
I found out what I should to. I should set attribute 'useOrigin' to true on my <ivy:retrieve>
ant tasks.

Sorry for the disturbance.

Fred

-----Original Message-----
From: Frederic Dernbach [mailto:fredatwork@free.fr] 
Sent: jeudi 4 octobre 2007 13:54
To: ivy-user@incubator.apache.org
Subject: Cache and version numbers

Hello,

 

I’m relatively new to ivy.

 

While in development mode, I keep publishing artifacts to my ivy repository without incrementing
version number, i.e. the artifact
name does not change.

 

However, when I resolve dependencies in a project that depends on this re-published artefact,
the latest “version” does not get
extracted, because of the cache. If I delete files in the cache first, then the latest artifact
gets downloaded in the dependant
project. I realize this happens because I do not increment version numbers when the artifact
is re-published.

 

Still, I’d like to know how can I bypass the cachesince I do not want to increase version
numbers for now (I can always hardcode a
delete cache file instruction in ant, but I would like to get an ivy solution for that first).

 

Any idea ?

 

Fred 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59
 

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59
 


Mime
View raw message